#9B52CA#9B52CA

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

Color values

HEX#9B52CA
RGBrgb(155, 82, 202)
HSLhsl(277, 53%, 56%)
HSVhsv(277, 59%, 79%)
CMYKcmyk(23.3%, 59.4%, 0%, 20.8%)
CIE-LABlab(48.60, 51.04, -50.54)
CIE-LCHlch(48.60, 71.82, 315.28°)
OKLaboklab(57.87% 0.1189 -0.1422)
OKLCHoklch(57.87% 0.185 309.9)
XYZxyz(27.1935, 17.2679, 57.7662)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B52CA #81CA52
analogous
#5F52CA #9B52CA #CA52BD
triadic
#9B52CA #CA9B52 #52CA9B
tetradic
#9B52CA #CA5F52 #81CA52 #52BDCA
square
#9B52CA #CA5F52 #81CA52 #52BDCA
split-complementary
#9B52CA #BDCA52 #52CA5F
monochromatic
#5A267C #7C34AB #9B52CA #B681D8 #D1B0E7

Accessibility & contrast

On white

4.72
#9B52CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9B52CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B52CA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B52CA#FFFFFF#000000##FFFFFF
##9B52CA1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2470CE
Deuteranopia (green-blind)
#4475C7
Tritanopia (blue-blind)
#956986
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b52ca;
/* rgb */ color: rgb(155, 82, 202);
/* oklch */ color: oklch(57.9% 0.185 309.9);
Tailwind
colors: {
  custom: {
    50: '#bc86db',
    500: '#9b52ca',
    950: '#000000',
  },
}
SCSS
$custom: #9b52ca;
$custom-light: #bc86db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b52ca",
  "rgb": {
    "r": 155,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 276.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57868,
    "c": 0.18536,
    "h": 309.9
  },
  "luminance": 0.17267
}

Semantic roles & 50–950 ramp

primary
#9B52CA
secondary
#B6D5A3
accent
#DD4B84
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B52CA

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

Preview Lab → · Contrast checker → · Palette generator →

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