#684FCC#684FCC
#684FCC is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.185 H 287.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #684FCC |
|---|---|
| RGB | rgb(104, 79, 204) |
| HSL | hsl(252, 55%, 55%) |
| HSV | hsv(252, 61%, 80%) |
| CMYK | cmyk(49%, 61.3%, 0%, 20%) |
| CIE-LAB | lab(42.60, 41.80, -61.63) |
| CIE-LCH | lch(42.60, 74.46, 304.15°) |
| OKLab | oklab(52.28% 0.0553 -0.1764) |
| OKLCH | oklch(52.28% 0.185 287.4) |
| XYZ | xyz(19.4008, 12.8938, 58.5815) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 3.21
Iris
#6258C4
ΔE00 3.22
Light Indigo
#6D5ACF
ΔE00 3.28
Bluey Purple
#6241C7
ΔE00 3.84
Dark Periwinkle
#665FD1
ΔE00 4.95
Purpleish Blue
#6140EF
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#684FCC #B3CC4F
analogous
#4F74CC #684FCC #A64FCC
triadic
#684FCC #CC684F #4FCC68
tetradic
#684FCC #CC4F74 #B3CC4F #4FCCA6
square
#684FCC #CC4F74 #B3CC4F #4FCCA6
split-complementary
#684FCC #CCA64F #74CC4F
monochromatic
#36247D #4A32AC #684FCC #917EDA #B9AEE7
Accessibility & contrast
On white
5.87
#684FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#684FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #684FCC
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##684FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##684FCC | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#456C86
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #684fcc; /* rgb */ color: rgb(104, 79, 204); /* oklch */ color: oklch(52.3% 0.185 287.4);
Tailwind
colors: {
custom: {
50: '#9b81dc',
500: '#684fcc',
950: '#000000',
},
}SCSS
$custom: #684fcc; $custom-light: #9b81dc; $custom-dark: #000000;
JSON
{
"hex": "#684fcc",
"rgb": {
"r": 104,
"g": 79,
"b": 204
},
"hsl": {
"h": 252,
"s": 55.066,
"l": 55.49
},
"oklch": {
"l": 0.52282,
"c": 0.18486,
"h": 287.4
},
"luminance": 0.12895
}Semantic roles & 50–950 ramp
primary
#684FCC
secondary
#CBD5A1
accent
#DE49C1
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83