#9B52CE#9B52CE

#9B52CE is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.1% C 0.190 H 308.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9B52CE
RGBrgb(155, 82, 206)
HSLhsl(275, 56%, 56%)
HSVhsv(275, 60%, 81%)
CMYKcmyk(24.8%, 60.2%, 0%, 19.2%)
CIE-LABlab(48.83, 51.94, -52.45)
CIE-LCHlch(48.83, 73.81, 314.72°)
OKLaboklab(58.12% 0.1189 -0.1478)
OKLCHoklch(58.12% 0.19 308.8)
XYZxyz(27.6732, 17.4598, 60.2928)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B52CE #85CE52
analogous
#5D52CE #9B52CE #CE52C3
triadic
#9B52CE #CE9B52 #52CE9B
tetradic
#9B52CE #CE5D52 #85CE52 #52C3CE
square
#9B52CE #CE5D52 #85CE52 #52C3CE
split-complementary
#9B52CE #C3CE52 #52CE5D
monochromatic
#5B2581 #7D32B1 #9B52CE #B782DC #D2B1E9

Accessibility & contrast

On white

4.68
#9B52CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9B52CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B52CE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B52CE#FFFFFF#000000##FFFFFF
##9B52CE1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D71D2
Deuteranopia (green-blind)
#4175CB
Tritanopia (blue-blind)
#946A88
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9b52ce;
/* rgb */ color: rgb(155, 82, 206);
/* oklch */ color: oklch(58.1% 0.190 308.8);
Tailwind
colors: {
  custom: {
    50: '#bc86de',
    500: '#9b52ce',
    950: '#000000',
  },
}
SCSS
$custom: #9b52ce;
$custom-light: #bc86de;
$custom-dark: #000000;
JSON
{
  "hex": "#9b52ce",
  "rgb": {
    "r": 155,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 275.323,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58118,
    "c": 0.1897,
    "h": 308.8
  },
  "luminance": 0.17459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B52CE

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

Preview Lab → · Contrast checker → · Palette generator →

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