#9C52CE#9C52CE

#9C52CE is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.2% C 0.190 H 309.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9C52CE
RGBrgb(156, 82, 206)
HSLhsl(276, 56%, 56%)
HSVhsv(276, 60%, 81%)
CMYKcmyk(24.3%, 60.2%, 0%, 19.2%)
CIE-LABlab(48.96, 52.17, -52.25)
CIE-LCHlch(48.96, 73.84, 314.96°)
OKLaboklab(58.23% 0.1201 -0.1472)
OKLCHoklch(58.23% 0.19 309.2)
XYZxyz(27.8660, 17.5592, 60.3018)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C52CE #84CE52
analogous
#5E52CE #9C52CE #CE52C2
triadic
#9C52CE #CE9C52 #52CE9C
tetradic
#9C52CE #CE5E52 #84CE52 #52C2CE
square
#9C52CE #CE5E52 #84CE52 #52C2CE
split-complementary
#9C52CE #C2CE52 #52CE5E
monochromatic
#5C2581 #7E32B1 #9C52CE #B782DC #D3B1E9

Accessibility & contrast

On white

4.65
#9C52CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9C52CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C52CE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C52CE#FFFFFF#000000##FFFFFF
##9C52CE1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E71D2
Deuteranopia (green-blind)
#4275CB
Tritanopia (blue-blind)
#956A88
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9c52ce;
/* rgb */ color: rgb(156, 82, 206);
/* oklch */ color: oklch(58.2% 0.190 309.2);
Tailwind
colors: {
  custom: {
    50: '#bd86de',
    500: '#9c52ce',
    950: '#000000',
  },
}
SCSS
$custom: #9c52ce;
$custom-light: #bd86de;
$custom-dark: #000000;
JSON
{
  "hex": "#9c52ce",
  "rgb": {
    "r": 156,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 275.806,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58234,
    "c": 0.19001,
    "h": 309.2
  },
  "luminance": 0.17559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C52CE

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

Preview Lab → · Contrast checker → · Palette generator →

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