#684FC2#684FC2
#684FC2 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.5% C 0.172 H 288.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #684FC2 |
|---|---|
| RGB | rgb(104, 79, 194) |
| HSL | hsl(253, 49%, 54%) |
| HSV | hsv(253, 59%, 76%) |
| CMYK | cmyk(46.4%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(41.89, 38.87, -56.99) |
| CIE-LCH | lch(41.89, 68.98, 304.30°) |
| OKLab | oklab(51.54% 0.0558 -0.1627) |
| OKLCH | oklch(51.54% 0.172 288.9) |
| XYZ | xyz(18.2397, 12.4293, 52.4665) |
| Luminance | 0.1243 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.13
Slate Blue
#6A5ACD
ΔE00 3.66
Light Indigo
#6D5ACF
ΔE00 3.81
Bluey Purple
#6241C7
ΔE00 3.82
Dark Periwinkle
#665FD1
ΔE00 5.47
Ocean Blue
#4F42B5
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#684FC2 #A9C24F
analogous
#4F6FC2 #684FC2 #A14FC2
triadic
#684FC2 #C2684F #4FC268
tetradic
#684FC2 #C24F6F #A9C24F #4FC2A1
square
#684FC2 #C24F6F #A9C24F #4FC2A1
split-complementary
#684FC2 #C2A14F #6FC24F
monochromatic
#372770 #4D379D #684FC2 #8F7CD2 #B6AAE2
Accessibility & contrast
On white
6.02
#684FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#684FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #684FC2
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##684FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##684FC2 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#4C6981
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #684fc2; /* rgb */ color: rgb(104, 79, 194); /* oklch */ color: oklch(51.5% 0.172 288.9);
Tailwind
colors: {
custom: {
50: '#9981d5',
500: '#684fc2',
950: '#000000',
},
}SCSS
$custom: #684fc2; $custom-light: #9981d5; $custom-dark: #000000;
JSON
{
"hex": "#684fc2",
"rgb": {
"r": 104,
"g": 79,
"b": 194
},
"hsl": {
"h": 253.043,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.51535,
"c": 0.17203,
"h": 288.9
},
"luminance": 0.1243
}Semantic roles & 50–950 ramp
primary
#684FC2
secondary
#C4CF9E
accent
#D850BA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83