#9B52E2#9B52E2

#9B52E2 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.4% C 0.211 H 303.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9B52E2
RGBrgb(155, 82, 226)
HSLhsl(270, 71%, 60%)
HSVhsv(270, 64%, 89%)
CMYKcmyk(31.4%, 63.7%, 0%, 11.4%)
CIE-LABlab(50.09, 56.54, -61.82)
CIE-LCHlch(50.09, 83.78, 312.44°)
OKLaboklab(59.43% 0.118 -0.1753)
OKLCHoklch(59.43% 0.211 303.9)
XYZxyz(30.2592, 18.4942, 73.9124)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B52E2 #99E252
analogous
#5352E2 #9B52E2 #E252E1
triadic
#9B52E2 #E29B52 #52E29B
tetradic
#9B52E2 #E25352 #99E252 #52E1E2
square
#9B52E2 #E25352 #99E252 #52E1E2
split-complementary
#9B52E2 #E1E252 #52E253
monochromatic
#5E1B9F #7D23D3 #9B52E2 #B986EB #D8BBF4

Accessibility & contrast

On white

4.47
#9B52E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9B52E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B52E2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B52E2#FFFFFF#000000##000000
##9B52E21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#2677DF
Tritanopia (blue-blind)
#8E7193
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b52e2;
/* rgb */ color: rgb(155, 82, 226);
/* oklch */ color: oklch(59.4% 0.211 303.9);
Tailwind
colors: {
  custom: {
    50: '#bd87ec',
    500: '#9b52e2',
    950: '#000000',
  },
}
SCSS
$custom: #9b52e2;
$custom-light: #bd87ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9b52e2",
  "rgb": {
    "r": 155,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 270.417,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5943,
    "c": 0.21135,
    "h": 303.9
  },
  "luminance": 0.18494
}

Semantic roles & 50–950 ramp

primary
#9B52E2
secondary
#C8E3AC
accent
#D31271
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B52E2

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

Preview Lab → · Contrast checker → · Palette generator →

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