#684FBB#684FBB
#684FBB is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.0% C 0.163 H 290.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #684FBB |
|---|---|
| RGB | rgb(104, 79, 187) |
| HSL | hsl(254, 44%, 52%) |
| HSV | hsv(254, 58%, 73%) |
| CMYK | cmyk(44.4%, 57.8%, 0%, 26.7%) |
| CIE-LAB | lab(41.41, 36.84, -53.68) |
| CIE-LCH | lch(41.41, 65.10, 304.46°) |
| OKLab | oklab(51.03% 0.0559 -0.153) |
| OKLCH | oklch(51.03% 0.163 290.1) |
| XYZ | xyz(17.4720, 12.1223, 48.4233) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.48
Bluey Purple
#6241C7
ΔE00 4.20
Slate Blue
#6A5ACD
ΔE00 4.27
Light Indigo
#6D5ACF
ΔE00 4.46
Royal Purple
#7851A9
ΔE00 5.24
Ocean Blue
#4F42B5
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#684FBB #A2BB4F
analogous
#4F6CBB #684FBB #9E4FBB
triadic
#684FBB #BB684F #4FBB68
tetradic
#684FBB #BB4F6C #A2BB4F #4FBB9E
square
#684FBB #BB4F6C #A2BB4F #4FBB9E
split-complementary
#684FBB #BB9E4F #6CBB4F
monochromatic
#372868 #4E3994 #684FBB #8E7BCC #B4A7DD
Accessibility & contrast
On white
6.13
#684FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#684FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #684FBB
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##684FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##684FBB | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0564BF
Deuteranopia (green-blind)
#0F5FB9
Tritanopia (blue-blind)
#4F677D
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #684fbb; /* rgb */ color: rgb(104, 79, 187); /* oklch */ color: oklch(51.0% 0.163 290.1);
Tailwind
colors: {
custom: {
50: '#9981d0',
500: '#684fbb',
950: '#000000',
},
}SCSS
$custom: #684fbb; $custom-light: #9981d0; $custom-dark: #000000;
JSON
{
"hex": "#684fbb",
"rgb": {
"r": 104,
"g": 79,
"b": 187
},
"hsl": {
"h": 253.889,
"s": 44.262,
"l": 52.157
},
"oklch": {
"l": 0.51029,
"c": 0.16291,
"h": 290.1
},
"luminance": 0.12123
}Semantic roles & 50–950 ramp
primary
#684FBB
secondary
#C0CA9B
accent
#D454B6
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82