#684BCC#684BCC
#684BCC is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.190 H 288.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #684BCC |
|---|---|
| RGB | rgb(104, 75, 204) |
| HSL | hsl(253, 56%, 55%) |
| HSV | hsv(253, 63%, 80%) |
| CMYK | cmyk(49%, 63.2%, 0%, 20%) |
| CIE-LAB | lab(41.74, 44.08, -63.02) |
| CIE-LCH | lch(41.74, 76.91, 304.97°) |
| OKLab | oklab(51.65% 0.0594 -0.1805) |
| OKLCH | oklch(51.65% 0.19 288.2) |
| XYZ | xyz(19.1209, 12.3340, 58.4882) |
| Luminance | 0.1234 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.82
Iris
#6258C4
ΔE00 4.20
Slate Blue
#6A5ACD
ΔE00 4.29
Light Indigo
#6D5ACF
ΔE00 4.33
Bluish Purple
#703BE7
ΔE00 4.70
Purpleish Blue
#6140EF
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#684BCC #AFCC4B
analogous
#4B6FCC #684BCC #A84BCC
triadic
#684BCC #CC684B #4BCC68
tetradic
#684BCC #CC4B6F #AFCC4B #4BCCA8
square
#684BCC #CC4B6F #AFCC4B #4BCCA8
split-complementary
#684BCC #CCA84B #6FCC4B
monochromatic
#36237A #4B30AA #684BCC #907BDA #B8AAE7
Accessibility & contrast
On white
6.06
#684BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#684BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #684BCC
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##684BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##684BCC | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#466A85
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #684bcc; /* rgb */ color: rgb(104, 75, 204); /* oklch */ color: oklch(51.7% 0.190 288.2);
Tailwind
colors: {
custom: {
50: '#9b7fdc',
500: '#684bcc',
950: '#000000',
},
}SCSS
$custom: #684bcc; $custom-light: #9b7fdc; $custom-dark: #000000;
JSON
{
"hex": "#684bcc",
"rgb": {
"r": 104,
"g": 75,
"b": 204
},
"hsl": {
"h": 253.488,
"s": 55.844,
"l": 54.706
},
"oklch": {
"l": 0.51655,
"c": 0.19005,
"h": 288.2
},
"luminance": 0.12335
}Semantic roles & 50–950 ramp
primary
#684BCC
secondary
#C8D59E
accent
#DF49BD
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83