#684FC7#684FC7
#684FC7 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.9% C 0.178 H 288.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #684FC7 |
|---|---|
| RGB | rgb(104, 79, 199) |
| HSL | hsl(253, 52%, 55%) |
| HSV | hsv(253, 60%, 78%) |
| CMYK | cmyk(47.7%, 60.3%, 0%, 22%) |
| CIE-LAB | lab(42.24, 40.33, -59.32) |
| CIE-LCH | lch(42.24, 71.73, 304.21°) |
| OKLab | oklab(51.91% 0.0556 -0.1696) |
| OKLCH | oklch(51.91% 0.178 288.1) |
| XYZ | xyz(18.8107, 12.6577, 55.4738) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.09
Slate Blue
#6A5ACD
ΔE00 3.36
Light Indigo
#6D5ACF
ΔE00 3.48
Bluey Purple
#6241C7
ΔE00 3.75
Dark Periwinkle
#665FD1
ΔE00 5.17
Ocean Blue
#4F42B5
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#684FC7 #AEC74F
analogous
#4F72C7 #684FC7 #A44FC7
triadic
#684FC7 #C7684F #4FC768
tetradic
#684FC7 #C74F72 #AEC74F #4FC7A4
square
#684FC7 #C74F72 #AEC74F #4FC7A4
split-complementary
#684FC7 #C7A44F #72C74F
monochromatic
#362676 #4C34A4 #684FC7 #907DD6 #B8ACE5
Accessibility & contrast
On white
5.95
#684FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#684FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #684FC7
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##684FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##684FC7 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#486B83
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #684fc7; /* rgb */ color: rgb(104, 79, 199); /* oklch */ color: oklch(51.9% 0.178 288.1);
Tailwind
colors: {
custom: {
50: '#9a81d9',
500: '#684fc7',
950: '#000000',
},
}SCSS
$custom: #684fc7; $custom-light: #9a81d9; $custom-dark: #000000;
JSON
{
"hex": "#684fc7",
"rgb": {
"r": 104,
"g": 79,
"b": 199
},
"hsl": {
"h": 252.5,
"s": 51.724,
"l": 54.51
},
"oklch": {
"l": 0.51905,
"c": 0.17848,
"h": 288.1
},
"luminance": 0.12659
}Semantic roles & 50–950 ramp
primary
#684FC7
secondary
#C8D2A0
accent
#DB4DBD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0A15
muted
#7E7C83