#9B52DC#9B52DC

#9B52DC is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.0% C 0.205 H 305.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9B52DC
RGBrgb(155, 82, 220)
HSLhsl(272, 66%, 59%)
HSVhsv(272, 63%, 86%)
CMYKcmyk(29.5%, 62.7%, 0%, 13.7%)
CIE-LABlab(49.70, 55.14, -59.05)
CIE-LCHlch(49.70, 80.79, 313.04°)
OKLaboklab(59.03% 0.1184 -0.1672)
OKLCHoklch(59.03% 0.205 305.3)
XYZxyz(29.4503, 18.1707, 69.6521)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B52DC #93DC52
analogous
#5652DC #9B52DC #DC52D8
triadic
#9B52DC #DC9B52 #52DC9B
tetradic
#9B52DC #DC5652 #93DC52 #52D8DC
square
#9B52DC #DC5652 #93DC52 #52D8DC
split-complementary
#9B52DC #D8DC52 #52DC56
monochromatic
#5D1E95 #7D29C8 #9B52DC #B885E6 #D6B8F1

Accessibility & contrast

On white

4.53
#9B52DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9B52DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B52DC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B52DC#FFFFFF#000000##000000
##9B52DC1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#3076D9
Tritanopia (blue-blind)
#906F90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9b52dc;
/* rgb */ color: rgb(155, 82, 220);
/* oklch */ color: oklch(59.0% 0.205 305.3);
Tailwind
colors: {
  custom: {
    50: '#bd87e8',
    500: '#9b52dc',
    950: '#000000',
  },
}
SCSS
$custom: #9b52dc;
$custom-light: #bd87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b52dc",
  "rgb": {
    "r": 155,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 271.739,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59026,
    "c": 0.20486,
    "h": 305.3
  },
  "luminance": 0.1817
}

Semantic roles & 50–950 ramp

primary
#9B52DC
secondary
#C3E0AA
accent
#E93F8F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9B52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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