#896DF5#896DF5
#896DF5 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.9% C 0.195 H 289.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #896DF5 |
|---|---|
| RGB | rgb(137, 109, 245) |
| HSL | hsl(252, 87%, 69%) |
| HSV | hsv(252, 56%, 96%) |
| CMYK | cmyk(44.1%, 55.5%, 0%, 3.9%) |
| CIE-LAB | lab(54.91, 43.12, -64.79) |
| CIE-LCH | lch(54.91, 77.82, 303.64°) |
| OKLab | oklab(62.92% 0.0636 -0.1846) |
| OKLCH | oklch(62.92% 0.195 289) |
| XYZ | xyz(32.2619, 22.8470, 89.0786) |
| Luminance | 0.2285 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.95
Mediumpurple
#9370DB
ΔE00 4.71
Periwinkle (survey)
#8E82FE
ΔE00 6.09
Lighter Purple
#A55AF4
ΔE00 6.69
Purpley
#8756E4
ΔE00 6.99
Cornflower
#6A79F7
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#896DF5 #D9F56D
analogous
#6D95F5 #896DF5 #CD6DF5
triadic
#896DF5 #F5896D #6DF589
tetradic
#896DF5 #F56D95 #D9F56D #6DF5CD
square
#896DF5 #F56D95 #D9F56D #6DF5CD
split-complementary
#896DF5 #F5CD6D #95F56D
monochromatic
#380FD9 #5B34F1 #896DF5 #B7A6F9 #E6E0FD
Accessibility & contrast
On white
3.77
#896DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#896DF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #896DF5
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##896DF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##896DF5 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D86FA
Deuteranopia (green-blind)
#2180F2
Tritanopia (blue-blind)
#688BA7
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #896df5; /* rgb */ color: rgb(137, 109, 245); /* oklch */ color: oklch(62.9% 0.195 289.0);
Tailwind
colors: {
custom: {
50: '#b297f9',
500: '#896df5',
950: '#000000',
},
}SCSS
$custom: #896df5; $custom-light: #b297f9; $custom-dark: #000000;
JSON
{
"hex": "#896df5",
"rgb": {
"r": 137,
"g": 109,
"b": 245
},
"hsl": {
"h": 252.353,
"s": 87.179,
"l": 69.412
},
"oklch": {
"l": 0.6292,
"c": 0.19528,
"h": 289
},
"luminance": 0.22848
}Semantic roles & 50–950 ramp
primary
#896DF5
secondary
#EAF2CB
accent
#E402B5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85