#8960F3#8960F3
#8960F3 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.7% C 0.210 H 291.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8960F3 |
|---|---|
| RGB | rgb(137, 96, 243) |
| HSL | hsl(257, 86%, 66%) |
| HSV | hsv(257, 60%, 95%) |
| CMYK | cmyk(43.6%, 60.5%, 0%, 4.7%) |
| CIE-LAB | lab(52.01, 49.81, -68.36) |
| CIE-LCH | lch(52.01, 84.58, 306.08°) |
| OKLab | oklab(60.75% 0.0779 -0.1952) |
| OKLCH | oklch(60.75% 0.21 291.8) |
| XYZ | xyz(30.6726, 20.1542, 87.0507) |
| Luminance | 0.2016 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.32
Purpley
#8756E4
ΔE00 3.64
Lighter Purple
#A55AF4
ΔE00 4.96
Mediumpurple
#9370DB
ΔE00 5.99
Lightish Purple
#A552E6
ΔE00 6.23
Light Indigo
#6D5ACF
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8960F3 #CAF360
analogous
#6081F3 #8960F3 #D360F3
triadic
#8960F3 #F38960 #60F389
tetradic
#8960F3 #F36081 #CAF360 #60F3D3
square
#8960F3 #F36081 #CAF360 #60F3D3
split-complementary
#8960F3 #F3D360 #81F360
monochromatic
#430FC9 #5F27EF #8960F3 #B399F7 #DDD2FC
Accessibility & contrast
On white
4.17
#8960F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#8960F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8960F3
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8960F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8960F3 | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF8
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#6A82A1
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8960f3; /* rgb */ color: rgb(137, 96, 243); /* oklch */ color: oklch(60.7% 0.210 291.8);
Tailwind
colors: {
custom: {
50: '#b28ff8',
500: '#8960f3',
950: '#000000',
},
}SCSS
$custom: #8960f3; $custom-light: #b28ff8; $custom-dark: #000000;
JSON
{
"hex": "#8960f3",
"rgb": {
"r": 137,
"g": 96,
"b": 243
},
"hsl": {
"h": 256.735,
"s": 85.965,
"l": 66.471
},
"oklch": {
"l": 0.60747,
"c": 0.21016,
"h": 291.8
},
"luminance": 0.20155
}Semantic roles & 50–950 ramp
primary
#8960F3
secondary
#E2EFC0
accent
#E203A4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85