#9760E2#9760E2
#9760E2 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 61.0% C 0.191 H 300.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9760E2 |
|---|---|
| RGB | rgb(151, 96, 226) |
| HSL | hsl(265, 69%, 63%) |
| HSV | hsv(265, 58%, 89%) |
| CMYK | cmyk(33.2%, 57.5%, 0%, 11.4%) |
| CIE-LAB | lab(52.33, 48.44, -58.25) |
| CIE-LCH | lch(52.33, 75.75, 309.75°) |
| OKLab | oklab(60.96% 0.0965 -0.165) |
| OKLCH | oklch(60.96% 0.191 300.3) |
| XYZ | xyz(30.6695, 20.4358, 74.2655) |
| Luminance | 0.2044 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.29
Lightish Purple
#A552E6
ΔE00 3.68
Purpley
#8756E4
ΔE00 4.20
Mediumpurple
#9370DB
ΔE00 4.55
Amethyst
#9B5FC0
ΔE00 6.05
Mediumslateblue
#7B68EE
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9760E2 #ABE260
analogous
#606AE2 #9760E2 #D860E2
triadic
#9760E2 #E29760 #60E297
tetradic
#9760E2 #E2606A #ABE260 #60E2D8
square
#9760E2 #E2606A #ABE260 #60E2D8
split-complementary
#9760E2 #E2D860 #6AE260
monochromatic
#591FA9 #752CD9 #9760E2 #B994EB #DBC8F5
Accessibility & contrast
On white
4.13
#9760E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#9760E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9760E2
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9760E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9760E2 | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#207CE6
Deuteranopia (green-blind)
#397CDF
Tritanopia (blue-blind)
#877B98
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #9760e2; /* rgb */ color: rgb(151, 96, 226); /* oklch */ color: oklch(61.0% 0.191 300.3);
Tailwind
colors: {
custom: {
50: '#ba8fec',
500: '#9760e2',
950: '#000000',
},
}SCSS
$custom: #9760e2; $custom-light: #ba8fec; $custom-dark: #000000;
JSON
{
"hex": "#9760e2",
"rgb": {
"r": 151,
"g": 96,
"b": 226
},
"hsl": {
"h": 265.385,
"s": 69.149,
"l": 63.137
},
"oklch": {
"l": 0.60956,
"c": 0.19114,
"h": 300.3
},
"luminance": 0.20436
}Semantic roles & 50–950 ramp
primary
#9760E2
secondary
#D2E6B8
accent
#D11481
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120D16
muted
#817D84