#684CD2#684CD2
#684CD2 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.196 H 287.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #684CD2 |
|---|---|
| RGB | rgb(104, 76, 210) |
| HSL | hsl(253, 60%, 56%) |
| HSV | hsv(253, 64%, 82%) |
| CMYK | cmyk(50.5%, 63.8%, 0%, 17.6%) |
| CIE-LAB | lab(42.41, 45.26, -65.40) |
| CIE-LCH | lch(42.41, 79.54, 304.69°) |
| OKLab | oklab(52.28% 0.0579 -0.1875) |
| OKLCH | oklch(52.28% 0.196 287.1) |
| XYZ | xyz(19.9228, 12.7641, 62.3742) |
| Luminance | 0.1277 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.41
Light Indigo
#6D5ACF
ΔE00 3.99
Slate Blue
#6A5ACD
ΔE00 4.00
Iris
#6258C4
ΔE00 4.19
Purpleish Blue
#6140EF
ΔE00 4.26
Bluish Purple
#703BE7
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#684CD2 #B6D24C
analogous
#4C73D2 #684CD2 #AB4CD2
triadic
#684CD2 #D2684C #4CD268
tetradic
#684CD2 #D24C73 #B6D24C #4CD2AB
square
#684CD2 #D24C73 #B6D24C #4CD2AB
split-complementary
#684CD2 #D2AB4C #73D24C
monochromatic
#352183 #492DB4 #684CD2 #917DDE #BBAEEB
Accessibility & contrast
On white
5.91
#684CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#684CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #684CD2
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##684CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##684CD2 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#416D88
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #684cd2; /* rgb */ color: rgb(104, 76, 210); /* oklch */ color: oklch(52.3% 0.196 287.1);
Tailwind
colors: {
custom: {
50: '#9c80e1',
500: '#684cd2',
950: '#000000',
},
}SCSS
$custom: #684cd2; $custom-light: #9c80e1; $custom-dark: #000000;
JSON
{
"hex": "#684cd2",
"rgb": {
"r": 104,
"g": 76,
"b": 210
},
"hsl": {
"h": 252.537,
"s": 59.821,
"l": 56.078
},
"oklch": {
"l": 0.52279,
"c": 0.19623,
"h": 287.1
},
"luminance": 0.12765
}Semantic roles & 50–950 ramp
primary
#684CD2
secondary
#CDD9A1
accent
#E345C2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83