#9C52D2#9C52D2

#9C52D2 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.5% C 0.194 H 308.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9C52D2
RGBrgb(156, 82, 210)
HSLhsl(275, 59%, 57%)
HSVhsv(275, 61%, 82%)
CMYKcmyk(25.7%, 61%, 0%, 17.6%)
CIE-LABlab(49.20, 53.08, -54.15)
CIE-LCHlch(49.20, 75.82, 314.43°)
OKLaboklab(58.49% 0.1201 -0.1528)
OKLCHoklch(58.49% 0.194 308.2)
XYZxyz(28.3581, 17.7561, 62.8936)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C52D2 #88D252
analogous
#5C52D2 #9C52D2 #D252C8
triadic
#9C52D2 #D29C52 #52D29C
tetradic
#9C52D2 #D25C52 #88D252 #52C8D2
square
#9C52D2 #D25C52 #88D252 #52C8D2
split-complementary
#9C52D2 #C8D252 #52D25C
monochromatic
#5D2387 #7E30B7 #9C52D2 #B883DF #D4B3EB

Accessibility & contrast

On white

4.61
#9C52D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9C52D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C52D2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C52D2#FFFFFF#000000##FFFFFF
##9C52D21.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1572D6
Deuteranopia (green-blind)
#3E76CF
Tritanopia (blue-blind)
#946B8A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9c52d2;
/* rgb */ color: rgb(156, 82, 210);
/* oklch */ color: oklch(58.5% 0.194 308.2);
Tailwind
colors: {
  custom: {
    50: '#bd86e0',
    500: '#9c52d2',
    950: '#000000',
  },
}
SCSS
$custom: #9c52d2;
$custom-light: #bd86e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c52d2",
  "rgb": {
    "r": 156,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 274.688,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58488,
    "c": 0.19432,
    "h": 308.2
  },
  "luminance": 0.17756
}

Semantic roles & 50–950 ramp

primary
#9C52D2
secondary
#BCDAA6
accent
#E24688
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C52D2

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

Preview Lab → · Contrast checker → · Palette generator →

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