#684FCB#684FCB
#684FCB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.2% C 0.184 H 287.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #684FCB |
|---|---|
| RGB | rgb(104, 79, 203) |
| HSL | hsl(252, 54%, 55%) |
| HSV | hsv(252, 61%, 80%) |
| CMYK | cmyk(48.8%, 61.1%, 0%, 20.4%) |
| CIE-LAB | lab(42.53, 41.50, -61.17) |
| CIE-LCH | lch(42.53, 73.92, 304.16°) |
| OKLab | oklab(52.21% 0.0553 -0.175) |
| OKLCH | oklch(52.21% 0.184 287.5) |
| XYZ | xyz(19.2813, 12.8460, 57.9519) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.18
Slate Blue
#6A5ACD
ΔE00 3.23
Light Indigo
#6D5ACF
ΔE00 3.31
Bluey Purple
#6241C7
ΔE00 3.81
Dark Periwinkle
#665FD1
ΔE00 4.99
Purpleish Blue
#6140EF
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#684FCB #B2CB4F
analogous
#4F74CB #684FCB #A64FCB
triadic
#684FCB #CB684F #4FCB68
tetradic
#684FCB #CB4F74 #B2CB4F #4FCBA6
square
#684FCB #CB4F74 #B2CB4F #4FCBA6
split-complementary
#684FCB #CBA64F #74CB4F
monochromatic
#36247B #4B32AA #684FCB #917ED9 #B9ADE7
Accessibility & contrast
On white
5.88
#684FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#684FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #684FCB
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##684FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##684FCB | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#466C85
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #684fcb; /* rgb */ color: rgb(104, 79, 203); /* oklch */ color: oklch(52.2% 0.184 287.5);
Tailwind
colors: {
custom: {
50: '#9b81dc',
500: '#684fcb',
950: '#000000',
},
}SCSS
$custom: #684fcb; $custom-light: #9b81dc; $custom-dark: #000000;
JSON
{
"hex": "#684fcb",
"rgb": {
"r": 104,
"g": 79,
"b": 203
},
"hsl": {
"h": 252.097,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.52206,
"c": 0.18359,
"h": 287.5
},
"luminance": 0.12847
}Semantic roles & 50–950 ramp
primary
#684FCB
secondary
#CAD5A1
accent
#DE4AC0
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83