#9C42D0#9C42D0

#9C42D0 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.4% C 0.214 H 310.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9C42D0
RGBrgb(156, 66, 208)
HSLhsl(278, 60%, 54%)
HSVhsv(278, 68%, 82%)
CMYKcmyk(25%, 68.3%, 0%, 18.4%)
CIE-LABlab(46.34, 60.16, -57.61)
CIE-LCHlch(46.34, 83.29, 316.24°)
OKLaboklab(56.38% 0.1384 -0.1628)
OKLCHoklch(56.38% 0.214 310.4)
XYZxyz(27.0415, 15.5190, 61.2332)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C42D0 #76D042
analogous
#5542D0 #9C42D0 #D042BD
triadic
#9C42D0 #D09C42 #42D09C
tetradic
#9C42D0 #D05542 #76D042 #42BDD0
square
#9C42D0 #D05542 #76D042 #42BDD0
split-complementary
#9C42D0 #BDD042 #42D055
monochromatic
#581E79 #7C2AAA #9C42D0 #B673DC #CFA4E8

Accessibility & contrast

On white

5.12
#9C42D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9C42D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C42D0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C42D0#FFFFFF#000000##FFFFFF
##9C42D01.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#2C6FCD
Tritanopia (blue-blind)
#956084
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9c42d0;
/* rgb */ color: rgb(156, 66, 208);
/* oklch */ color: oklch(56.4% 0.214 310.4);
Tailwind
colors: {
  custom: {
    50: '#bd7ddf',
    500: '#9c42d0',
    950: '#000000',
  },
}
SCSS
$custom: #9c42d0;
$custom-light: #bd7ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c42d0",
  "rgb": {
    "r": 156,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 278.028,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56384,
    "c": 0.2137,
    "h": 310.4
  },
  "luminance": 0.15518
}

Semantic roles & 50–950 ramp

primary
#9C42D0
secondary
#AFD599
accent
#E3447F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9C42D0

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

Preview Lab → · Contrast checker → · Palette generator →

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