#9C52CD#9C52CD

#9C52CD is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.2% C 0.189 H 309.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9C52CD
RGBrgb(156, 82, 205)
HSLhsl(276, 55%, 56%)
HSVhsv(276, 60%, 80%)
CMYKcmyk(23.9%, 60%, 0%, 19.6%)
CIE-LABlab(48.90, 51.95, -51.77)
CIE-LCHlch(48.90, 73.34, 315.10°)
OKLaboklab(58.17% 0.1201 -0.1458)
OKLCHoklch(58.17% 0.189 309.5)
XYZxyz(27.7449, 17.5108, 59.6641)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C52CD #83CD52
analogous
#5F52CD #9C52CD #CD52C0
triadic
#9C52CD #CD9C52 #52CD9C
tetradic
#9C52CD #CD5F52 #83CD52 #52C0CD
square
#9C52CD #CD5F52 #83CD52 #52C0CD
split-complementary
#9C52CD #C0CD52 #52CD5F
monochromatic
#5C2580 #7E33AF #9C52CD #B781DB #D2B1E8

Accessibility & contrast

On white

4.66
#9C52CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9C52CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C52CD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C52CD#FFFFFF#000000##FFFFFF
##9C52CD1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2071D1
Deuteranopia (green-blind)
#4375CA
Tritanopia (blue-blind)
#956988
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9c52cd;
/* rgb */ color: rgb(156, 82, 205);
/* oklch */ color: oklch(58.2% 0.189 309.5);
Tailwind
colors: {
  custom: {
    50: '#bd86dd',
    500: '#9c52cd',
    950: '#000000',
  },
}
SCSS
$custom: #9c52cd;
$custom-light: #bd86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c52cd",
  "rgb": {
    "r": 156,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 276.098,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58172,
    "c": 0.18893,
    "h": 309.5
  },
  "luminance": 0.1751
}

Semantic roles & 50–950 ramp

primary
#9C52CD
secondary
#B8D7A4
accent
#DE4985
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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