#684CBD#684CBD
#684CBD is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.7% C 0.170 H 290.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #684CBD |
|---|---|
| RGB | rgb(104, 76, 189) |
| HSL | hsl(255, 46%, 52%) |
| HSV | hsv(255, 60%, 74%) |
| CMYK | cmyk(45%, 59.8%, 0%, 25.9%) |
| CIE-LAB | lab(40.87, 39.18, -55.71) |
| CIE-LCH | lch(40.87, 68.11, 305.11°) |
| OKLab | oklab(50.68% 0.0593 -0.159) |
| OKLCH | oklch(50.68% 0.17 290.5) |
| XYZ | xyz(17.4761, 11.7855, 49.4883) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.32
Iris
#6258C4
ΔE00 4.11
Slate Blue
#6A5ACD
ΔE00 4.78
Light Indigo
#6D5ACF
ΔE00 4.92
Ocean Blue
#4F42B5
ΔE00 4.94
Blue With A Hint Of Purple
#533CC6
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#684CBD #A1BD4C
analogous
#4C69BD #684CBD #A04CBD
triadic
#684CBD #BD684C #4CBD68
tetradic
#684CBD #BD4C69 #A1BD4C #4CBDA0
square
#684CBD #BD4C69 #A1BD4C #4CBDA0
split-complementary
#684CBD #BDA04C #69BD4C
monochromatic
#372668 #4E3795 #684CBD #8E79CD #B3A5DE
Accessibility & contrast
On white
6.26
#684CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#684CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #684CBD
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##684CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##684CBD | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#4F667D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #684cbd; /* rgb */ color: rgb(104, 76, 189); /* oklch */ color: oklch(50.7% 0.170 290.5);
Tailwind
colors: {
custom: {
50: '#997fd2',
500: '#684cbd',
950: '#000000',
},
}SCSS
$custom: #684cbd; $custom-light: #997fd2; $custom-dark: #000000;
JSON
{
"hex": "#684cbd",
"rgb": {
"r": 104,
"g": 76,
"b": 189
},
"hsl": {
"h": 254.867,
"s": 46.122,
"l": 51.961
},
"oklch": {
"l": 0.50679,
"c": 0.16972,
"h": 290.5
},
"luminance": 0.11786
}Semantic roles & 50–950 ramp
primary
#684CBD
secondary
#BFCB9A
accent
#D652B5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83