#9B52CF#9B52CF
#9B52CF is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.2% C 0.191 H 308.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9B52CF |
|---|---|
| RGB | rgb(155, 82, 207) |
| HSL | hsl(275, 57%, 57%) |
| HSV | hsv(275, 60%, 81%) |
| CMYK | cmyk(25.1%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(48.89, 52.16, -52.93) |
| CIE-LCH | lch(48.89, 74.31, 314.58°) |
| OKLab | oklab(58.18% 0.1189 -0.1492) |
| OKLCH | oklch(58.18% 0.191 308.5) |
| XYZ | xyz(27.7951, 17.5086, 60.9346) |
| Luminance | 0.1751 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.68
Amethyst
#9B5FC0
ΔE00 4.26
Deep Lavender
#8D5EB7
ΔE00 5.25
Purpley
#8756E4
ΔE00 5.44
Lighter Purple
#A55AF4
ΔE00 6.20
Darkorchid
#9932CC
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B52CF #86CF52
analogous
#5D52CF #9B52CF #CF52C5
triadic
#9B52CF #CF9B52 #52CF9B
tetradic
#9B52CF #CF5D52 #86CF52 #52C5CF
square
#9B52CF #CF5D52 #86CF52 #52C5CF
split-complementary
#9B52CF #C5CF52 #52CF5D
monochromatic
#5B2482 #7D31B2 #9B52CF #B782DC #D2B2EA
Accessibility & contrast
On white
4.67
#9B52CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#9B52CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9B52CF
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B52CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B52CF | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B71D3
Deuteranopia (green-blind)
#4075CC
Tritanopia (blue-blind)
#936A89
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9b52cf; /* rgb */ color: rgb(155, 82, 207); /* oklch */ color: oklch(58.2% 0.191 308.5);
Tailwind
colors: {
custom: {
50: '#bc86de',
500: '#9b52cf',
950: '#000000',
},
}SCSS
$custom: #9b52cf; $custom-light: #bc86de; $custom-dark: #000000;
JSON
{
"hex": "#9b52cf",
"rgb": {
"r": 155,
"g": 82,
"b": 207
},
"hsl": {
"h": 275.04,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.58182,
"c": 0.19077,
"h": 308.5
},
"luminance": 0.17508
}Semantic roles & 50–950 ramp
primary
#9B52CF
secondary
#BAD8A5
accent
#E04887
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83