#8960F2#8960F2
#8960F2 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.7% C 0.209 H 291.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8960F2 |
|---|---|
| RGB | rgb(137, 96, 242) |
| HSL | hsl(257, 85%, 66%) |
| HSV | hsv(257, 60%, 95%) |
| CMYK | cmyk(43.4%, 60.3%, 0%, 5.1%) |
| CIE-LAB | lab(51.94, 49.54, -67.91) |
| CIE-LCH | lch(51.94, 84.06, 306.11°) |
| OKLab | oklab(60.68% 0.078 -0.1938) |
| OKLCH | oklch(60.68% 0.209 291.9) |
| XYZ | xyz(30.5220, 20.0940, 86.2575) |
| Luminance | 0.2009 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.32
Purpley
#8756E4
ΔE00 3.55
Lighter Purple
#A55AF4
ΔE00 4.96
Mediumpurple
#9370DB
ΔE00 5.92
Lightish Purple
#A552E6
ΔE00 6.18
Light Indigo
#6D5ACF
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8960F2 #C9F260
analogous
#6080F2 #8960F2 #D260F2
triadic
#8960F2 #F28960 #60F289
tetradic
#8960F2 #F26080 #C9F260 #60F2D2
square
#8960F2 #F26080 #C9F260 #60F2D2
split-complementary
#8960F2 #F2D260 #80F260
monochromatic
#4410C7 #5F27ED #8960F2 #B399F7 #DDD1FB
Accessibility & contrast
On white
4.18
#8960F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#8960F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8960F2
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8960F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8960F2 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#6B81A0
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8960f2; /* rgb */ color: rgb(137, 96, 242); /* oklch */ color: oklch(60.7% 0.209 291.9);
Tailwind
colors: {
custom: {
50: '#b28ff7',
500: '#8960f2',
950: '#000000',
},
}SCSS
$custom: #8960f2; $custom-light: #b28ff7; $custom-dark: #000000;
JSON
{
"hex": "#8960f2",
"rgb": {
"r": 137,
"g": 96,
"b": 242
},
"hsl": {
"h": 256.849,
"s": 84.884,
"l": 66.275
},
"oklch": {
"l": 0.60676,
"c": 0.20895,
"h": 291.9
},
"luminance": 0.20095
}Semantic roles & 50–950 ramp
primary
#8960F2
secondary
#E1EFBF
accent
#E104A3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85