Skip to content
PantoneTools
purple
Open Color

Violet 2

violet-2 · #D0BFFF

HEX

#D0BFFF

RGB

rgb(208, 191, 255)

CMYK

cmyk(18%, 25%, 0%, 0%)

HSL

hsl(256, 100%, 87%)

LAB

lab(80.7, 18.5, -29.3)

What is Violet 2?

Violet 2 is the violet-2 reference in the Open Color. Its sRGB value is #D0BFFF (rgb 208, 191, 255). It sits in the purple family. Open Color, an open-source color palette by Heeyeun designed for UI work. 13 hues across 10 shades (0 to 9) tuned for screen legibility and accessibility. See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Violet 2 as a background.

Black text on this color

Sample text · 12.58 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 1.67 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Violet 2

An 11-step tonal scale derived from Violet 2 (#D0BFFF). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #FBFAFF

50

#FBFAFF

#FBFAFF

Copied #F7F5FF

100

#F7F5FF

#F7F5FF

Copied #F0EBFF

200

#F0EBFF

#F0EBFF

Copied #E8DFFF

300

#E8DFFF

#E8DFFF

Copied #DCCFFF

400

#DCCFFF

#DCCFFF

Copied #D0BFFF

500

#D0BFFF

#D0BFFF

Copied #B1A2D9

600

#B1A2D9

#B1A2D9

Copied #877CA6

700

#877CA6

#877CA6

Copied #5E5673

800

#5E5673

#5E5673

Copied #343040

900

#343040

#343040

Copied #19171F

950

#19171F

#19171F

Lighter tints (mixed with white)

Copied #D8CAFF

15%

#D8CAFF

Copied #DFD5FF

30%

#DFD5FF

Copied #E7DFFF

45%

#E7DFFF

Copied #EEE8FF

60%

#EEE8FF

Copied #F4F1FF

75%

#F4F1FF

Darker shades (mixed with black)

Copied #C1B2ED

15%

#C1B2ED

Copied #B1A3DA

30%

#B1A3DA

Copied #9F92C4

45%

#9F92C4

Copied #8A7EAA

60%

#8A7EAA

Copied #6F6589

75%

#6F6589

Color harmonies for Violet 2

Classic color-theory harmonies derived from rotating the hue of Violet 2. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #D0BFFF

#D0BFFF

#D0BFFF

Copied #EDFFBD

#EDFFBD

#EDFFBD

Triadic

Three colors 120° apart

Copied #D0BFFF

#D0BFFF

#D0BFFF

Copied #FFCEBD

#FFCEBD

#FFCEBD

Copied #BDFFCE

#BDFFCE

#BDFFCE

Analogous

Two neighbors ±30° on the wheel

Copied #BDCCFF

#BDCCFF

#BDCCFF

Copied #D0BFFF

#D0BFFF

#D0BFFF

Copied #F0BDFF

#F0BDFF

#F0BDFF

Split-complementary

Base + two colors flanking its complement

Copied #D0BFFF

#D0BFFF

#D0BFFF

Copied #FFF0BD

#FFF0BD

#FFF0BD

Copied #CCFFBD

#CCFFBD

#CCFFBD

Tetradic

Two complementary pairs

Copied #D0BFFF

#D0BFFF

#D0BFFF

Copied #FFBDED

#FFBDED

#FFBDED

Copied #EDFFBD

#EDFFBD

#EDFFBD

Copied #BDFFCE

#BDFFCE

#BDFFCE

Square

Four colors evenly spaced 90° apart

Copied #D0BFFF

#D0BFFF

#D0BFFF

Copied #FFBDCC

#FFBDCC

#FFBDCC

Copied #EDFFBD

#EDFFBD

#EDFFBD

Copied #BDFFF0

#BDFFF0

#BDFFF0

Violet 2 in every color space

Full conversion of Violet 2 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#D0BFFF

RGB

rgb(208, 191, 255)

CMYK

cmyk(18%, 25%, 0%, 0%)

HSL

hsl(256, 100%, 87%)

HSV

hsv(256, 25%, 100%)

HWB

hwb(256 75% 0%)

CIE Lab

lab(80.7 18.5 -29.3)

OKLCH

oklch(84.1% 0.090 296.6)

XYZ (D65)

xyz(62.69, 57.89, 102.46)

Copy-ready code for Violet 2

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #D0BFFF;
background-color: #D0BFFF;

CSS variable

:root {
  --color-violet-2: #D0BFFF;
}

Tailwind config

// tailwind.config.js
colors: {
  'violet-2': '#D0BFFF',
}

Sass

$color-violet-2: #D0BFFF;

Swift UIColor

UIColor(red: 0.816, green: 0.749, blue: 1.000, alpha: 1.0)

Android XML

<color name="violet-2">#D0BFFF</color>

Closest match in every color system

The nearest Violet 2 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in Open Color

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #9DA1AA

RAL 7040

#9DA1AA

Window grey

Copied #D7D7D7

RAL 7035

#D7D7D7

Light grey

Copied #D7D7D7

RAL 9018

#D7D7D7

Papyrus white

Copied #8F999F

RAL 7001

#8F999F

Silver grey

Copied #9EA0A1

RAL 7004

#9EA0A1

Signal grey

Copied #A18594

RAL 4009

#A18594

Pastel violet

FAQ about Violet 2

What is the HEX code for Violet 2?

Violet 2 (violet-2) has the HEX code #D0BFFF. In RGB it is rgb(208, 191, 255), and in CMYK it is cmyk(18%, 25%, 0%, 0%).

What is the OKLCH value of Violet 2?

Violet 2 converts to oklch(0.841 0.090 296.6). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Violet 2 accessible for body text?

Used as a background, Violet 2 has a contrast ratio of 12.58:1 with black text and 1.67:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.

What is the closest Pantone to Violet 2?

The closest Pantone reference to Violet 2 by ΔE2000 perceptual distance is Pantone 256 C (#D6BCE3). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Violet 2?

The closest RAL Classic reference to Violet 2 by ΔE2000 distance is RAL 7040 (Window grey, #9DA1AA). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Violet 2?

The complementary color (180° opposite on the HSL color wheel) of Violet 2 is #EDFFBD. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

Open Color (Yeun)

Open Color, an open-source color palette by Heeyeun designed for UI designers and developers. 13 hues across 10 shades. Use as a designer-friendly palette alternative to Tailwind. Values are intentionally chosen for UI legibility and accessibility.

Source type
derived
Confidence
high
License
MIT
Last reviewed
2026-05-24

Workflow tags

open-color
design-token
ui
purple

Open Color values are tuned for digital UI. For print, treat as a starting point and proof against the substrate.

Open Color · Violet 2 — #D0BFFF | PantoneTools