#684FCA#684FCA
#684FCA is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.1% C 0.182 H 287.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #684FCA |
|---|---|
| RGB | rgb(104, 79, 202) |
| HSL | hsl(252, 54%, 55%) |
| HSV | hsv(252, 61%, 79%) |
| CMYK | cmyk(48.5%, 60.9%, 0%, 20.8%) |
| CIE-LAB | lab(42.46, 41.21, -60.71) |
| CIE-LCH | lch(42.46, 73.37, 304.17°) |
| OKLab | oklab(52.13% 0.0554 -0.1737) |
| OKLCH | oklch(52.13% 0.182 287.7) |
| XYZ | xyz(19.1625, 12.7984, 57.3263) |
| Luminance | 0.1280 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.15
Slate Blue
#6A5ACD
ΔE00 3.26
Light Indigo
#6D5ACF
ΔE00 3.34
Bluey Purple
#6241C7
ΔE00 3.78
Dark Periwinkle
#665FD1
ΔE00 5.03
Purpleish Blue
#6140EF
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#684FCA #B1CA4F
analogous
#4F74CA #684FCA #A54FCA
triadic
#684FCA #CA684F #4FCA68
tetradic
#684FCA #CA4F74 #B1CA4F #4FCAA5
square
#684FCA #CA4F74 #B1CA4F #4FCAA5
split-complementary
#684FCA #CAA54F #74CA4F
monochromatic
#36257A #4B33A9 #684FCA #907ED8 #B9ADE6
Accessibility & contrast
On white
5.90
#684FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#684FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #684FCA
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##684FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##684FCA | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#476C85
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #684fca; /* rgb */ color: rgb(104, 79, 202); /* oklch */ color: oklch(52.1% 0.182 287.7);
Tailwind
colors: {
custom: {
50: '#9a81db',
500: '#684fca',
950: '#000000',
},
}SCSS
$custom: #684fca; $custom-light: #9a81db; $custom-dark: #000000;
JSON
{
"hex": "#684fca",
"rgb": {
"r": 104,
"g": 79,
"b": 202
},
"hsl": {
"h": 252.195,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.52131,
"c": 0.18231,
"h": 287.7
},
"luminance": 0.12799
}Semantic roles & 50–950 ramp
primary
#684FCA
secondary
#CAD4A1
accent
#DD4BBF
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83