#684CD0#684CD0
#684CD0 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.194 H 287.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #684CD0 |
|---|---|
| RGB | rgb(104, 76, 208) |
| HSL | hsl(253, 58%, 56%) |
| HSV | hsv(253, 63%, 82%) |
| CMYK | cmyk(50%, 63.5%, 0%, 18.4%) |
| CIE-LAB | lab(42.25, 44.68, -64.50) |
| CIE-LCH | lch(42.25, 78.46, 304.71°) |
| OKLab | oklab(52.12% 0.0581 -0.1848) |
| OKLCH | oklch(52.12% 0.194 287.4) |
| XYZ | xyz(19.6752, 12.6651, 61.0702) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.27
Slate Blue
#6A5ACD
ΔE00 3.99
Light Indigo
#6D5ACF
ΔE00 4.00
Iris
#6258C4
ΔE00 4.10
Purpleish Blue
#6140EF
ΔE00 4.48
Bluish Purple
#703BE7
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#684CD0 #B4D04C
analogous
#4C72D0 #684CD0 #AA4CD0
triadic
#684CD0 #D0684C #4CD068
tetradic
#684CD0 #D04C72 #B4D04C #4CD0AA
square
#684CD0 #D04C72 #B4D04C #4CD0AA
split-complementary
#684CD0 #D0AA4C #72D04C
monochromatic
#362280 #4A2EB0 #684CD0 #917CDD #BAADE9
Accessibility & contrast
On white
5.94
#684CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#684CD0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #684CD0
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##684CD0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##684CD0 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D4
Deuteranopia (green-blind)
#0060CD
Tritanopia (blue-blind)
#436C87
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #684cd0; /* rgb */ color: rgb(104, 76, 208); /* oklch */ color: oklch(52.1% 0.194 287.4);
Tailwind
colors: {
custom: {
50: '#9b7fdf',
500: '#684cd0',
950: '#000000',
},
}SCSS
$custom: #684cd0; $custom-light: #9b7fdf; $custom-dark: #000000;
JSON
{
"hex": "#684cd0",
"rgb": {
"r": 104,
"g": 76,
"b": 208
},
"hsl": {
"h": 252.727,
"s": 58.407,
"l": 55.686
},
"oklch": {
"l": 0.52121,
"c": 0.19375,
"h": 287.4
},
"luminance": 0.12666
}Semantic roles & 50–950 ramp
primary
#684CD0
secondary
#CCD7A0
accent
#E246C1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83