#9B52CD#9B52CD

#9B52CD is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.1% C 0.189 H 309.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9B52CD
RGBrgb(155, 82, 205)
HSLhsl(276, 55%, 56%)
HSVhsv(276, 60%, 80%)
CMYKcmyk(24.4%, 60%, 0%, 19.6%)
CIE-LABlab(48.77, 51.71, -51.97)
CIE-LCHlch(48.77, 73.32, 314.85°)
OKLaboklab(58.06% 0.1189 -0.1464)
OKLCHoklch(58.06% 0.189 309.1)
XYZxyz(27.5521, 17.4114, 59.6551)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B52CD #84CD52
analogous
#5E52CD #9B52CD #CD52C2
triadic
#9B52CD #CD9B52 #52CD9B
tetradic
#9B52CD #CD5E52 #84CD52 #52C2CD
square
#9B52CD #CD5E52 #84CD52 #52C2CD
split-complementary
#9B52CD #C2CD52 #52CD5E
monochromatic
#5B2580 #7D33AF #9B52CD #B681DB #D2B1E8

Accessibility & contrast

On white

4.69
#9B52CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9B52CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B52CD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B52CD#FFFFFF#000000##FFFFFF
##9B52CD1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F71D1
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#946A88
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9b52cd;
/* rgb */ color: rgb(155, 82, 205);
/* oklch */ color: oklch(58.1% 0.189 309.1);
Tailwind
colors: {
  custom: {
    50: '#bc86dd',
    500: '#9b52cd',
    950: '#000000',
  },
}
SCSS
$custom: #9b52cd;
$custom-light: #bc86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b52cd",
  "rgb": {
    "r": 155,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 275.61,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58056,
    "c": 0.18861,
    "h": 309.1
  },
  "luminance": 0.17411
}

Semantic roles & 50–950 ramp

primary
#9B52CD
secondary
#B9D7A4
accent
#DE4986
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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