#684FCF#684FCF
#684FCF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.189 H 287.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #684FCF |
|---|---|
| RGB | rgb(104, 79, 207) |
| HSL | hsl(252, 57%, 56%) |
| HSV | hsv(252, 62%, 81%) |
| CMYK | cmyk(49.8%, 61.8%, 0%, 18.8%) |
| CIE-LAB | lab(42.82, 42.68, -63.00) |
| CIE-LCH | lch(42.82, 76.10, 304.11°) |
| OKLab | oklab(52.51% 0.0551 -0.1804) |
| OKLCH | oklch(52.51% 0.189 287) |
| XYZ | xyz(19.7641, 13.0391, 60.4948) |
| Luminance | 0.1304 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 3.19
Light Indigo
#6D5ACF
ΔE00 3.22
Iris
#6258C4
ΔE00 3.36
Bluey Purple
#6241C7
ΔE00 3.96
Dark Periwinkle
#665FD1
ΔE00 4.87
Purpleish Blue
#6140EF
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#684FCF #B6CF4F
analogous
#4F76CF #684FCF #A84FCF
triadic
#684FCF #CF684F #4FCF68
tetradic
#684FCF #CF4F76 #B6CF4F #4FCFA8
square
#684FCF #CF4F76 #B6CF4F #4FCFA8
split-complementary
#684FCF #CFA84F #76CF4F
monochromatic
#352381 #4930B1 #684FCF #917FDC #BBAFE9
Accessibility & contrast
On white
5.82
#684FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#684FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #684FCF
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##684FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##684FCF | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#436D88
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #684fcf; /* rgb */ color: rgb(104, 79, 207); /* oklch */ color: oklch(52.5% 0.189 287.0);
Tailwind
colors: {
custom: {
50: '#9b81df',
500: '#684fcf',
950: '#000000',
},
}SCSS
$custom: #684fcf; $custom-light: #9b81df; $custom-dark: #000000;
JSON
{
"hex": "#684fcf",
"rgb": {
"r": 104,
"g": 79,
"b": 207
},
"hsl": {
"h": 251.719,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.52511,
"c": 0.18866,
"h": 287
},
"luminance": 0.1304
}Semantic roles & 50–950 ramp
primary
#684FCF
secondary
#CDD7A2
accent
#E047C3
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83