#9C42C8#9C42C8

#9C42C8 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 55.8% C 0.206 H 312.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9C42C8
RGBrgb(156, 66, 200)
HSLhsl(280, 55%, 52%)
HSVhsv(280, 67%, 78%)
CMYKcmyk(22%, 67%, 0%, 21.6%)
CIE-LABlab(45.82, 58.46, -53.83)
CIE-LCHlch(45.82, 79.46, 317.36°)
OKLaboklab(55.85% 0.1391 -0.1518)
OKLCHoklch(55.85% 0.206 312.5)
XYZxyz(26.0820, 15.1352, 56.1798)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C42C8 #6EC842
analogous
#5942C8 #9C42C8 #C842B1
triadic
#9C42C8 #C89C42 #42C89C
tetradic
#9C42C8 #C85942 #6EC842 #42B1C8
square
#9C42C8 #C85942 #6EC842 #42B1C8
split-complementary
#9C42C8 #B1C842 #42C859
monochromatic
#55206F #7A2E9F #9C42C8 #B571D6 #CEA1E4

Accessibility & contrast

On white

5.22
#9C42C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9C42C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C42C8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C42C8#FFFFFF#000000##FFFFFF
##9C42C81.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#366EC5
Tritanopia (blue-blind)
#975D80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9c42c8;
/* rgb */ color: rgb(156, 66, 200);
/* oklch */ color: oklch(55.8% 0.206 312.5);
Tailwind
colors: {
  custom: {
    50: '#bd7dd9',
    500: '#9c42c8',
    950: '#000000',
  },
}
SCSS
$custom: #9c42c8;
$custom-light: #bd7dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c42c8",
  "rgb": {
    "r": 156,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 280.299,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55848,
    "c": 0.20585,
    "h": 312.5
  },
  "luminance": 0.15134
}

Semantic roles & 50–950 ramp

primary
#9C42C8
secondary
#A9D096
accent
#DE4A7A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9C42C8

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

Preview Lab → · Contrast checker → · Palette generator →

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