#9B52E1#9B52E1

#9B52E1 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.4% C 0.210 H 304.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9B52E1
RGBrgb(155, 82, 225)
HSLhsl(271, 70%, 60%)
HSVhsv(271, 64%, 88%)
CMYKcmyk(31.1%, 63.6%, 0%, 11.8%)
CIE-LABlab(50.02, 56.30, -61.36)
CIE-LCHlch(50.02, 83.28, 312.54°)
OKLaboklab(59.36% 0.1181 -0.174)
OKLCHoklch(59.36% 0.21 304.2)
XYZxyz(30.1224, 18.4395, 73.1918)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B52E1 #98E152
analogous
#5352E1 #9B52E1 #E152E0
triadic
#9B52E1 #E19B52 #52E19B
tetradic
#9B52E1 #E15352 #98E152 #52E0E1
square
#9B52E1 #E15352 #98E152 #52E0E1
split-complementary
#9B52E1 #E0E152 #52E153
monochromatic
#5E1B9D #7D24D1 #9B52E1 #B986EA #D7BAF3

Accessibility & contrast

On white

4.48
#9B52E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9B52E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B52E1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B52E1#FFFFFF#000000##000000
##9B52E11.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#2877DE
Tritanopia (blue-blind)
#8E7192
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b52e1;
/* rgb */ color: rgb(155, 82, 225);
/* oklch */ color: oklch(59.4% 0.210 304.2);
Tailwind
colors: {
  custom: {
    50: '#bd87eb',
    500: '#9b52e1',
    950: '#000000',
  },
}
SCSS
$custom: #9b52e1;
$custom-light: #bd87eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b52e1",
  "rgb": {
    "r": 155,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 270.629,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59362,
    "c": 0.21026,
    "h": 304.2
  },
  "luminance": 0.18439
}

Semantic roles & 50–950 ramp

primary
#9B52E1
secondary
#C7E3AC
accent
#D21371
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B52E1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9B52E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva