#9C38CE#9C38CE

#9C38CE is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.224 H 311.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9C38CE
RGBrgb(156, 56, 206)
HSLhsl(280, 60%, 51%)
HSVhsv(280, 73%, 81%)
CMYKcmyk(24.3%, 72.8%, 0%, 19.2%)
CIE-LABlab(44.74, 63.88, -59.04)
CIE-LCHlch(44.74, 86.98, 317.25°)
OKLaboklab(55.2% 0.1487 -0.167)
OKLCHoklch(55.2% 0.224 311.7)
XYZxyz(26.2630, 14.3532, 59.7675)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C38CE #6ACE38
analogous
#5138CE #9C38CE #CE38B5
triadic
#9C38CE #CE9C38 #38CE9C
tetradic
#9C38CE #CE5138 #6ACE38 #38B5CE
square
#9C38CE #CE5138 #6ACE38 #38B5CE
split-complementary
#9C38CE #B5CE38 #38CE51
monochromatic
#541C70 #7928A1 #9C38CE #B469DA #CD9AE6

Accessibility & contrast

On white

5.43
#9C38CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9C38CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C38CE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C38CE#FFFFFF#000000##FFFFFF
##9C38CE1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#216CCB
Tritanopia (blue-blind)
#965A80
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9c38ce;
/* rgb */ color: rgb(156, 56, 206);
/* oklch */ color: oklch(55.2% 0.224 311.7);
Tailwind
colors: {
  custom: {
    50: '#be78de',
    500: '#9c38ce',
    950: '#000000',
  },
}
SCSS
$custom: #9c38ce;
$custom-light: #be78de;
$custom-dark: #000000;
JSON
{
  "hex": "#9c38ce",
  "rgb": {
    "r": 156,
    "g": 56,
    "b": 206
  },
  "hsl": {
    "h": 280,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55201,
    "c": 0.22359,
    "h": 311.7
  },
  "luminance": 0.14352
}

Semantic roles & 50–950 ramp

primary
#9C38CE
secondary
#A6D290
accent
#E44479
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9C38CE

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

Preview Lab → · Contrast checker → · Palette generator →

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