#9C52DF#9C52DF

#9C52DF is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.3% C 0.208 H 305.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9C52DF
RGBrgb(156, 82, 223)
HSLhsl(271, 69%, 60%)
HSVhsv(271, 63%, 87%)
CMYKcmyk(30%, 63.2%, 0%, 12.5%)
CIE-LABlab(50.01, 56.06, -60.24)
CIE-LCHlch(50.01, 82.29, 312.94°)
OKLaboklab(59.34% 0.1195 -0.1707)
OKLCHoklch(59.34% 0.208 305)
XYZxyz(30.0439, 18.4304, 71.7724)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C52DF #95DF52
analogous
#5552DF #9C52DF #DF52DC
triadic
#9C52DF #DF9C52 #52DF9C
tetradic
#9C52DF #DF5552 #95DF52 #52DCDF
square
#9C52DF #DF5552 #95DF52 #52DCDF
split-complementary
#9C52DF #DCDF52 #52DF55
monochromatic
#5E1D9A #7E26CE #9C52DF #BA86E9 #D7B9F2

Accessibility & contrast

On white

4.48
#9C52DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9C52DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C52DF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C52DF#FFFFFF#000000##000000
##9C52DF1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#2D77DC
Tritanopia (blue-blind)
#907091
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9c52df;
/* rgb */ color: rgb(156, 82, 223);
/* oklch */ color: oklch(59.3% 0.208 305.0);
Tailwind
colors: {
  custom: {
    50: '#be87ea',
    500: '#9c52df',
    950: '#000000',
  },
}
SCSS
$custom: #9c52df;
$custom-light: #be87ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9c52df",
  "rgb": {
    "r": 156,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 271.489,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59339,
    "c": 0.20834,
    "h": 305
  },
  "luminance": 0.1843
}

Semantic roles & 50–950 ramp

primary
#9C52DF
secondary
#C5E2AB
accent
#EC3C90
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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