#9C52CC#9C52CC

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

Color values

HEX#9C52CC
RGBrgb(156, 82, 204)
HSLhsl(276, 54%, 56%)
HSVhsv(276, 60%, 80%)
CMYKcmyk(23.5%, 59.8%, 0%, 20%)
CIE-LABlab(48.84, 51.73, -51.29)
CIE-LCHlch(48.84, 72.84, 315.24°)
OKLaboklab(58.11% 0.1201 -0.1444)
OKLCHoklch(58.11% 0.188 309.8)
XYZxyz(27.6246, 17.4627, 59.0304)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C52CC #82CC52
analogous
#5F52CC #9C52CC #CC52BF
triadic
#9C52CC #CC9C52 #52CC9C
tetradic
#9C52CC #CC5F52 #82CC52 #52BFCC
square
#9C52CC #CC5F52 #82CC52 #52BFCC
split-complementary
#9C52CC #BFCC52 #52CC5F
monochromatic
#5B257E #7D33AE #9C52CC #B781DA #D2B1E8

Accessibility & contrast

On white

4.67
#9C52CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C52CC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C52CC#FFFFFF#000000##FFFFFF
##9C52CC1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2271D0
Deuteranopia (green-blind)
#4475C9
Tritanopia (blue-blind)
#966987
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9c52cc;
/* rgb */ color: rgb(156, 82, 204);
/* oklch */ color: oklch(58.1% 0.188 309.8);
Tailwind
colors: {
  custom: {
    50: '#bc86dc',
    500: '#9c52cc',
    950: '#000000',
  },
}
SCSS
$custom: #9c52cc;
$custom-light: #bc86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c52cc",
  "rgb": {
    "r": 156,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 276.393,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58109,
    "c": 0.18785,
    "h": 309.8
  },
  "luminance": 0.17462
}

Semantic roles & 50–950 ramp

primary
#9C52CC
secondary
#B8D6A4
accent
#DE4A84
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C52CC

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

Preview Lab → · Contrast checker → · Palette generator →

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