#684CD3#684CD3
#684CD3 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.4% C 0.197 H 287.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #684CD3 |
|---|---|
| RGB | rgb(104, 76, 211) |
| HSL | hsl(252, 61%, 56%) |
| HSV | hsv(252, 64%, 83%) |
| CMYK | cmyk(50.7%, 64%, 0%, 17.3%) |
| CIE-LAB | lab(42.48, 45.56, -65.85) |
| CIE-LCH | lch(42.48, 80.08, 304.67°) |
| OKLab | oklab(52.36% 0.0578 -0.1888) |
| OKLCH | oklch(52.36% 0.197 287) |
| XYZ | xyz(20.0478, 12.8141, 63.0324) |
| Luminance | 0.1281 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.48
Light Indigo
#6D5ACF
ΔE00 3.99
Slate Blue
#6A5ACD
ΔE00 4.02
Purpleish Blue
#6140EF
ΔE00 4.15
Iris
#6258C4
ΔE00 4.25
Bluish Purple
#703BE7
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#684CD3 #B7D34C
analogous
#4C74D3 #684CD3 #AB4CD3
triadic
#684CD3 #D3684C #4CD368
tetradic
#684CD3 #D34C74 #B7D34C #4CD3AB
square
#684CD3 #D34C74 #B7D34C #4CD3AB
split-complementary
#684CD3 #D3AB4C #74D34C
monochromatic
#352084 #492DB5 #684CD3 #917DDF #BBAEEB
Accessibility & contrast
On white
5.89
#684CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#684CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #684CD3
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##684CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##684CD3 | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#406D89
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #684cd3; /* rgb */ color: rgb(104, 76, 211); /* oklch */ color: oklch(52.4% 0.197 287.0);
Tailwind
colors: {
custom: {
50: '#9c80e1',
500: '#684cd3',
950: '#000000',
},
}SCSS
$custom: #684cd3; $custom-light: #9c80e1; $custom-dark: #000000;
JSON
{
"hex": "#684cd3",
"rgb": {
"r": 104,
"g": 76,
"b": 211
},
"hsl": {
"h": 252.444,
"s": 60.538,
"l": 56.275
},
"oklch": {
"l": 0.52358,
"c": 0.19748,
"h": 287
},
"luminance": 0.12815
}Semantic roles & 50–950 ramp
primary
#684CD3
secondary
#CED9A2
accent
#E444C3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83