#684CE3#684CE3
#684CE3 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.7% C 0.217 H 284.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #684CE3 |
|---|---|
| RGB | rgb(104, 76, 227) |
| HSL | hsl(251, 73%, 59%) |
| HSV | hsv(251, 67%, 89%) |
| CMYK | cmyk(54.2%, 66.5%, 0%, 11%) |
| CIE-LAB | lab(43.74, 50.23, -72.95) |
| CIE-LCH | lch(43.74, 88.57, 304.55°) |
| OKLab | oklab(53.65% 0.0558 -0.2097) |
| OKLCH | oklch(53.65% 0.217 284.9) |
| XYZ | xyz(22.1543, 13.6567, 74.1268) |
| Luminance | 0.1366 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.94
Bluish Purple
#703BE7
ΔE00 3.74
Light Indigo
#6D5ACF
ΔE00 4.52
Slate Blue
#6A5ACD
ΔE00 4.67
Bluey Purple
#6241C7
ΔE00 5.04
Purpley Blue
#5F34E7
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#684CE3 #C7E34C
analogous
#4C7CE3 #684CE3 #B44CE3
triadic
#684CE3 #E3684C #4CE368
tetradic
#684CE3 #E34C7C #C7E34C #4CE3B4
square
#684CE3 #E34C7C #C7E34C #4CE3B4
split-complementary
#684CE3 #E3B44C #7CE34C
monochromatic
#31189C #4121D1 #684CE3 #9581EB #C1B6F4
Accessibility & contrast
On white
5.63
#684CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#684CE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #684CE3
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##684CE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##684CE3 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#0063E0
Tritanopia (blue-blind)
#317291
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #684ce3; /* rgb */ color: rgb(104, 76, 227); /* oklch */ color: oklch(53.7% 0.217 284.9);
Tailwind
colors: {
custom: {
50: '#9e80ed',
500: '#684ce3',
950: '#000000',
},
}SCSS
$custom: #684ce3; $custom-light: #9e80ed; $custom-dark: #000000;
JSON
{
"hex": "#684ce3",
"rgb": {
"r": 104,
"g": 76,
"b": 227
},
"hsl": {
"h": 251.126,
"s": 72.947,
"l": 59.412
},
"oklch": {
"l": 0.53655,
"c": 0.21698,
"h": 284.9
},
"luminance": 0.13658
}Semantic roles & 50–950 ramp
primary
#684CE3
secondary
#D8E3A8
accent
#F038CE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84