#9C52CF#9C52CF

#9C52CF is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.3% C 0.191 H 308.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9C52CF
RGBrgb(156, 82, 207)
HSLhsl(276, 57%, 57%)
HSVhsv(276, 60%, 81%)
CMYKcmyk(24.6%, 60.4%, 0%, 18.8%)
CIE-LABlab(49.02, 52.40, -52.73)
CIE-LCHlch(49.02, 74.33, 314.82°)
OKLaboklab(58.3% 0.1201 -0.1486)
OKLCHoklch(58.3% 0.191 308.9)
XYZxyz(27.9879, 17.6080, 60.9437)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C52CF #85CF52
analogous
#5E52CF #9C52CF #CF52C4
triadic
#9C52CF #CF9C52 #52CF9C
tetradic
#9C52CF #CF5E52 #85CF52 #52C4CF
square
#9C52CF #CF5E52 #85CF52 #52C4CF
split-complementary
#9C52CF #C4CF52 #52CF5E
monochromatic
#5C2482 #7E31B2 #9C52CF #B782DC #D3B2EA

Accessibility & contrast

On white

4.64
#9C52CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9C52CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C52CF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C52CF#FFFFFF#000000##FFFFFF
##9C52CF1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C71D3
Deuteranopia (green-blind)
#4175CC
Tritanopia (blue-blind)
#956A89
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9c52cf;
/* rgb */ color: rgb(156, 82, 207);
/* oklch */ color: oklch(58.3% 0.191 308.9);
Tailwind
colors: {
  custom: {
    50: '#bd86de',
    500: '#9c52cf',
    950: '#000000',
  },
}
SCSS
$custom: #9c52cf;
$custom-light: #bd86de;
$custom-dark: #000000;
JSON
{
  "hex": "#9c52cf",
  "rgb": {
    "r": 156,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 275.52,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58297,
    "c": 0.19109,
    "h": 308.9
  },
  "luminance": 0.17608
}

Semantic roles & 50–950 ramp

primary
#9C52CF
secondary
#BAD8A5
accent
#E04886
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C52CF

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

Preview Lab → · Contrast checker → · Palette generator →

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