#684CCF#684CCF
#684CCF is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.193 H 287.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #684CCF |
|---|---|
| RGB | rgb(104, 76, 207) |
| HSL | hsl(253, 58%, 55%) |
| HSV | hsv(253, 63%, 81%) |
| CMYK | cmyk(49.8%, 63.3%, 0%, 18.8%) |
| CIE-LAB | lab(42.18, 44.39, -64.05) |
| CIE-LCH | lch(42.18, 77.93, 304.73°) |
| OKLab | oklab(52.04% 0.0582 -0.1835) |
| OKLCH | oklch(52.04% 0.193 287.6) |
| XYZ | xyz(19.5526, 12.6160, 60.4243) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.21
Slate Blue
#6A5ACD
ΔE00 4.00
Light Indigo
#6D5ACF
ΔE00 4.01
Iris
#6258C4
ΔE00 4.05
Purpleish Blue
#6140EF
ΔE00 4.59
Bluish Purple
#703BE7
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#684CCF #B3CF4C
analogous
#4C72CF #684CCF #A94CCF
triadic
#684CCF #CF684C #4CCF68
tetradic
#684CCF #CF4C72 #B3CF4C #4CCFA9
square
#684CCF #CF4C72 #B3CF4C #4CCFA9
split-complementary
#684CCF #CFA94C #72CF4C
monochromatic
#36227F #4A2FAF #684CCF #917CDC #B9ADE9
Accessibility & contrast
On white
5.96
#684CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#684CCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #684CCF
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##684CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##684CCF | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#436C86
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #684ccf; /* rgb */ color: rgb(104, 76, 207); /* oklch */ color: oklch(52.0% 0.193 287.6);
Tailwind
colors: {
custom: {
50: '#9b7fdf',
500: '#684ccf',
950: '#000000',
},
}SCSS
$custom: #684ccf; $custom-light: #9b7fdf; $custom-dark: #000000;
JSON
{
"hex": "#684ccf",
"rgb": {
"r": 104,
"g": 76,
"b": 207
},
"hsl": {
"h": 252.824,
"s": 57.709,
"l": 55.49
},
"oklch": {
"l": 0.52043,
"c": 0.19251,
"h": 287.6
},
"luminance": 0.12617
}Semantic roles & 50–950 ramp
primary
#684CCF
secondary
#CBD7A0
accent
#E147C0
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83