#684CB9#684CB9
#684CB9 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.4% C 0.165 H 291.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #684CB9 |
|---|---|
| RGB | rgb(104, 76, 185) |
| HSL | hsl(255, 44%, 51%) |
| HSV | hsv(255, 59%, 73%) |
| CMYK | cmyk(43.8%, 58.9%, 0%, 27.5%) |
| CIE-LAB | lab(40.60, 38.03, -53.82) |
| CIE-LCH | lch(40.60, 65.90, 305.24°) |
| OKLab | oklab(50.39% 0.0594 -0.1534) |
| OKLCH | oklch(50.39% 0.165 291.2) |
| XYZ | xyz(17.0479, 11.6142, 47.2331) |
| Luminance | 0.1162 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.67
Iris
#6258C4
ΔE00 4.35
Ocean Blue
#4F42B5
ΔE00 4.92
Slate Blue
#6A5ACD
ΔE00 5.13
Royal Purple
#7851A9
ΔE00 5.14
Light Indigo
#6D5ACF
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#684CB9 #9DB94C
analogous
#4C66B9 #684CB9 #9E4CB9
triadic
#684CB9 #B9684C #4CB968
tetradic
#684CB9 #B94C66 #9DB94C #4CB99E
square
#684CB9 #B94C66 #9DB94C #4CB99E
split-complementary
#684CB9 #B99E4C #66B94C
monochromatic
#372764 #4F3890 #684CB9 #8D78CA #B2A4DB
Accessibility & contrast
On white
6.32
#684CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#684CB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #684CB9
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##684CB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##684CB9 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#085DB7
Tritanopia (blue-blind)
#51647B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #684cb9; /* rgb */ color: rgb(104, 76, 185); /* oklch */ color: oklch(50.4% 0.165 291.2);
Tailwind
colors: {
custom: {
50: '#997fcf',
500: '#684cb9',
950: '#000000',
},
}SCSS
$custom: #684cb9; $custom-light: #997fcf; $custom-dark: #000000;
JSON
{
"hex": "#684cb9",
"rgb": {
"r": 104,
"g": 76,
"b": 185
},
"hsl": {
"h": 255.413,
"s": 43.775,
"l": 51.176
},
"oklch": {
"l": 0.50388,
"c": 0.16456,
"h": 291.2
},
"luminance": 0.11615
}Semantic roles & 50–950 ramp
primary
#684CB9
secondary
#BCC898
accent
#D454B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82