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
White text on this color
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.
50
#FBFAFF
#FBFAFF
100
#F7F5FF
#F7F5FF
200
#F0EBFF
#F0EBFF
300
#E8DFFF
#E8DFFF
400
#DCCFFF
#DCCFFF
500
#D0BFFF
#D0BFFF
600
#B1A2D9
#B1A2D9
700
#877CA6
#877CA6
800
#5E5673
#5E5673
900
#343040
#343040
950
#19171F
#19171F
Lighter tints (mixed with white)
15%
#D8CAFF
30%
#DFD5FF
45%
#E7DFFF
60%
#EEE8FF
75%
#F4F1FF
Darker shades (mixed with black)
15%
#C1B2ED
30%
#B1A3DA
45%
#9F92C4
60%
#8A7EAA
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
#D0BFFF
#D0BFFF
#EDFFBD
#EDFFBD
Triadic
Three colors 120° apart
#D0BFFF
#D0BFFF
#FFCEBD
#FFCEBD
#BDFFCE
#BDFFCE
Analogous
Two neighbors ±30° on the wheel
#BDCCFF
#BDCCFF
#D0BFFF
#D0BFFF
#F0BDFF
#F0BDFF
Split-complementary
Base + two colors flanking its complement
#D0BFFF
#D0BFFF
#FFF0BD
#FFF0BD
#CCFFBD
#CCFFBD
Tetradic
Two complementary pairs
#D0BFFF
#D0BFFF
#FFBDED
#FFBDED
#EDFFBD
#EDFFBD
#BDFFCE
#BDFFCE
Square
Four colors evenly spaced 90° apart
#D0BFFF
#D0BFFF
#FFBDCC
#FFBDCC
#EDFFBD
#EDFFBD
#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.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 7040
#9DA1AA
Window grey
RAL 7035
#D7D7D7
Light grey
RAL 9018
#D7D7D7
Papyrus white
RAL 7001
#8F999F
Silver grey
RAL 7004
#9EA0A1
Signal grey
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 values are tuned for digital UI. For print, treat as a starting point and proof against the substrate.