#9C38C8#9C38C8

#9C38C8 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.218 H 313.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9C38C8
RGBrgb(156, 56, 200)
HSLhsl(282, 57%, 50%)
HSVhsv(282, 72%, 78%)
CMYKcmyk(22%, 72%, 0%, 21.6%)
CIE-LABlab(44.33, 62.64, -56.23)
CIE-LCHlch(44.33, 84.18, 318.09°)
OKLaboklab(54.78% 0.1495 -0.1587)
OKLCHoklch(54.78% 0.218 313.3)
XYZxyz(25.5480, 14.0672, 56.0018)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C38C8 #64C838
analogous
#5438C8 #9C38C8 #C838AC
triadic
#9C38C8 #C89C38 #38C89C
tetradic
#9C38C8 #C85438 #64C838 #38ACC8
square
#9C38C8 #C85438 #64C838 #38ACC8
split-complementary
#9C38C8 #ACC838 #38C854
monochromatic
#521D69 #772A99 #9C38C8 #B468D5 #CC98E3

Accessibility & contrast

On white

5.51
#9C38C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9C38C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C38C8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C38C8#FFFFFF#000000##FFFFFF
##9C38C81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#2B6BC5
Tritanopia (blue-blind)
#97577D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9c38c8;
/* rgb */ color: rgb(156, 56, 200);
/* oklch */ color: oklch(54.8% 0.218 313.3);
Tailwind
colors: {
  custom: {
    50: '#be78d9',
    500: '#9c38c8',
    950: '#000000',
  },
}
SCSS
$custom: #9c38c8;
$custom-light: #be78d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c38c8",
  "rgb": {
    "r": 156,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 281.667,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54784,
    "c": 0.21804,
    "h": 313.3
  },
  "luminance": 0.14066
}

Semantic roles & 50–950 ramp

primary
#9C38C8
secondary
#A1CE8E
accent
#E04876
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C38C8

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

Preview Lab → · Contrast checker → · Palette generator →

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