#9B52DA#9B52DA

#9B52DA is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.9% C 0.203 H 305.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9B52DA
RGBrgb(155, 82, 218)
HSLhsl(272, 65%, 59%)
HSVhsv(272, 62%, 85%)
CMYKcmyk(28.9%, 62.4%, 0%, 14.5%)
CIE-LABlab(49.58, 54.68, -58.12)
CIE-LCHlch(49.58, 79.79, 313.25°)
OKLaboklab(58.89% 0.1185 -0.1645)
OKLCHoklch(58.89% 0.203 305.8)
XYZxyz(29.1870, 18.0653, 68.2654)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B52DA #91DA52
analogous
#5752DA #9B52DA #DA52D5
triadic
#9B52DA #DA9B52 #52DA9B
tetradic
#9B52DA #DA5752 #91DA52 #52D5DA
square
#9B52DA #DA5752 #91DA52 #52D5DA
split-complementary
#9B52DA #D5DA52 #52DA57
monochromatic
#5D1F92 #7D2AC5 #9B52DA #B884E5 #D5B7F0

Accessibility & contrast

On white

4.55
#9B52DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9B52DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B52DA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B52DA#FFFFFF#000000##000000
##9B52DA1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#3376D7
Tritanopia (blue-blind)
#906E8F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9b52da;
/* rgb */ color: rgb(155, 82, 218);
/* oklch */ color: oklch(58.9% 0.203 305.8);
Tailwind
colors: {
  custom: {
    50: '#bd86e6',
    500: '#9b52da',
    950: '#000000',
  },
}
SCSS
$custom: #9b52da;
$custom-light: #bd86e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b52da",
  "rgb": {
    "r": 155,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 272.206,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58894,
    "c": 0.20269,
    "h": 305.8
  },
  "luminance": 0.18065
}

Semantic roles & 50–950 ramp

primary
#9B52DA
secondary
#C2DFA9
accent
#E8408E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9B52DA

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

Preview Lab → · Contrast checker → · Palette generator →

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