#9B52CB#9B52CB

#9B52CB is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.9% C 0.186 H 309.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9B52CB
RGBrgb(155, 82, 203)
HSLhsl(276, 54%, 56%)
HSVhsv(276, 60%, 80%)
CMYKcmyk(23.6%, 59.6%, 0%, 20.4%)
CIE-LABlab(48.66, 51.26, -51.02)
CIE-LCHlch(48.66, 72.32, 315.14°)
OKLaboklab(57.93% 0.1189 -0.1436)
OKLCHoklch(57.93% 0.186 309.6)
XYZxyz(27.3123, 17.3154, 58.3918)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B52CB #82CB52
analogous
#5E52CB #9B52CB #CB52BF
triadic
#9B52CB #CB9B52 #52CB9B
tetradic
#9B52CB #CB5E52 #82CB52 #52BFCB
square
#9B52CB #CB5E52 #82CB52 #52BFCB
split-complementary
#9B52CB #BFCB52 #52CB5E
monochromatic
#5A267D #7C34AC #9B52CB #B681D9 #D1B0E7

Accessibility & contrast

On white

4.71
#9B52CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9B52CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B52CB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B52CB#FFFFFF#000000##FFFFFF
##9B52CB1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2270CF
Deuteranopia (green-blind)
#4375C8
Tritanopia (blue-blind)
#946987
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9b52cb;
/* rgb */ color: rgb(155, 82, 203);
/* oklch */ color: oklch(57.9% 0.186 309.6);
Tailwind
colors: {
  custom: {
    50: '#bc86db',
    500: '#9b52cb',
    950: '#000000',
  },
}
SCSS
$custom: #9b52cb;
$custom-light: #bc86db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b52cb",
  "rgb": {
    "r": 155,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 276.198,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5793,
    "c": 0.18645,
    "h": 309.6
  },
  "luminance": 0.17315
}

Semantic roles & 50–950 ramp

primary
#9B52CB
secondary
#B7D5A3
accent
#DD4B85
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B52CB

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

Preview Lab → · Contrast checker → · Palette generator →

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