#9750B2#9750B2
#9750B2 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.7% C 0.161 H 315.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9750B2 |
|---|---|
| RGB | rgb(151, 80, 178) |
| HSL | hsl(283, 39%, 51%) |
| HSV | hsv(283, 55%, 70%) |
| CMYK | cmyk(15.2%, 55.1%, 0%, 30.2%) |
| CIE-LAB | lab(46.35, 45.79, -40.20) |
| CIE-LCH | lch(46.35, 60.93, 318.72°) |
| OKLab | oklab(55.68% 0.1155 -0.1121) |
| OKLCH | oklch(55.68% 0.161 315.8) |
| XYZ | xyz(23.6658, 15.5317, 43.8621) |
| Luminance | 0.1553 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.78
Deep Lavender
#8D5EB7
ΔE00 4.44
Medium Purple
#9E43A2
ΔE00 4.50
Amethyst
#9B5FC0
ΔE00 4.71
Ugly Purple
#A442A0
ΔE00 5.49
Royal Purple
#7851A9
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9750B2 #6BB250
analogous
#6650B2 #9750B2 #B2509C
triadic
#9750B2 #B29750 #50B297
tetradic
#9750B2 #B26650 #6BB250 #509CB2
square
#9750B2 #B26650 #6BB250 #509CB2
split-complementary
#9750B2 #9CB250 #50B266
monochromatic
#50295E #743C89 #9750B2 #B07AC5 #CAA5D7
Accessibility & contrast
On white
5.11
#9750B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#9750B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9750B2
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9750B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9750B2 | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3969B5
Deuteranopia (green-blind)
#5070AF
Tritanopia (blue-blind)
#966079
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9750b2; /* rgb */ color: rgb(151, 80, 178); /* oklch */ color: oklch(55.7% 0.161 315.8);
Tailwind
colors: {
custom: {
50: '#b884c9',
500: '#9750b2',
950: '#000000',
},
}SCSS
$custom: #9750b2; $custom-light: #b884c9; $custom-dark: #000000;
JSON
{
"hex": "#9750b2",
"rgb": {
"r": 151,
"g": 80,
"b": 178
},
"hsl": {
"h": 283.469,
"s": 38.889,
"l": 50.588
},
"oklch": {
"l": 0.55681,
"c": 0.161,
"h": 315.8
},
"luminance": 0.15531
}Semantic roles & 50–950 ramp
primary
#9750B2
secondary
#A5C599
accent
#CF5979
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82