#9C38CB#9C38CB

#9C38CB is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.221 H 312.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9C38CB
RGBrgb(156, 56, 203)
HSLhsl(281, 59%, 51%)
HSVhsv(281, 72%, 80%)
CMYKcmyk(23.2%, 72.4%, 0%, 20.4%)
CIE-LABlab(44.53, 63.26, -57.64)
CIE-LCHlch(44.53, 85.58, 317.66°)
OKLaboklab(54.99% 0.1491 -0.1629)
OKLCHoklch(54.99% 0.221 312.5)
XYZxyz(25.9020, 14.2088, 57.8664)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C38CB #67CB38
analogous
#5238CB #9C38CB #CB38B1
triadic
#9C38CB #CB9C38 #38CB9C
tetradic
#9C38CB #CB5238 #67CB38 #38B1CB
square
#9C38CB #CB5238 #67CB38 #38B1CB
split-complementary
#9C38CB #B1CB38 #38CB52
monochromatic
#531C6C #78299D #9C38CB #B469D8 #CC99E4

Accessibility & contrast

On white

5.47
#9C38CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9C38CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C38CB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C38CB#FFFFFF#000000##FFFFFF
##9C38CB1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#276BC8
Tritanopia (blue-blind)
#97597E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9c38cb;
/* rgb */ color: rgb(156, 56, 203);
/* oklch */ color: oklch(55.0% 0.221 312.5);
Tailwind
colors: {
  custom: {
    50: '#be78dc',
    500: '#9c38cb',
    950: '#000000',
  },
}
SCSS
$custom: #9c38cb;
$custom-light: #be78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c38cb",
  "rgb": {
    "r": 156,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 280.816,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54992,
    "c": 0.22081,
    "h": 312.5
  },
  "luminance": 0.14208
}

Semantic roles & 50–950 ramp

primary
#9C38CB
secondary
#A4D08F
accent
#E24678
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C38CB

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

Preview Lab → · Contrast checker → · Palette generator →

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