#9C42BF#9C42BF

#9C42BF is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.3% C 0.197 H 315.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9C42BF
RGBrgb(156, 66, 191)
HSLhsl(283, 49%, 50%)
HSVhsv(283, 65%, 75%)
CMYKcmyk(18.3%, 65.4%, 0%, 25.1%)
CIE-LABlab(45.26, 56.58, -49.50)
CIE-LCHlch(45.26, 75.18, 318.81°)
OKLaboklab(55.27% 0.1396 -0.1391)
OKLCHoklch(55.27% 0.197 315.1)
XYZxyz(25.0610, 14.7268, 50.8025)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C42BF #65BF42
analogous
#5D42BF #9C42BF #BF42A3
triadic
#9C42BF #BF9C42 #42BF9C
tetradic
#9C42BF #BF5D42 #65BF42 #42A3BF
square
#9C42BF #BF5D42 #65BF42 #42A3BF
split-complementary
#9C42BF #A3BF42 #42BF5D
monochromatic
#522265 #773292 #9C42BF #B470CE #CC9DDE

Accessibility & contrast

On white

5.32
#9C42BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9C42BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C42BF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C42BF#FFFFFF#000000##FFFFFF
##9C42BF1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0466C3
Deuteranopia (green-blind)
#3F6EBC
Tritanopia (blue-blind)
#995A7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9c42bf;
/* rgb */ color: rgb(156, 66, 191);
/* oklch */ color: oklch(55.3% 0.197 315.1);
Tailwind
colors: {
  custom: {
    50: '#bd7dd3',
    500: '#9c42bf',
    950: '#000000',
  },
}
SCSS
$custom: #9c42bf;
$custom-light: #bd7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c42bf",
  "rgb": {
    "r": 156,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 283.2,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55265,
    "c": 0.19706,
    "h": 315.1
  },
  "luminance": 0.14726
}

Semantic roles & 50–950 ramp

primary
#9C42BF
secondary
#A2CA93
accent
#D94F76
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9C42BF

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

Preview Lab → · Contrast checker → · Palette generator →

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