#9C38CD#9C38CD

#9C38CD is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.223 H 311.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9C38CD
RGBrgb(156, 56, 205)
HSLhsl(280, 60%, 51%)
HSVhsv(280, 73%, 80%)
CMYKcmyk(23.9%, 72.7%, 0%, 19.6%)
CIE-LABlab(44.67, 63.67, -58.57)
CIE-LCHlch(44.67, 86.51, 317.39°)
OKLaboklab(55.13% 0.1488 -0.1656)
OKLCHoklch(55.13% 0.223 311.9)
XYZxyz(26.1419, 14.3048, 59.1298)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C38CD #69CD38
analogous
#5138CD #9C38CD #CD38B4
triadic
#9C38CD #CD9C38 #38CD9C
tetradic
#9C38CD #CD5138 #69CD38 #38B4CD
square
#9C38CD #CD5138 #69CD38 #38B4CD
split-complementary
#9C38CD #B4CD38 #38CD51
monochromatic
#531C6F #7828A0 #9C38CD #B469D9 #CD9AE6

Accessibility & contrast

On white

5.44
#9C38CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9C38CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C38CD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C38CD#FFFFFF#000000##FFFFFF
##9C38CD1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#236CCA
Tritanopia (blue-blind)
#965980
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9c38cd;
/* rgb */ color: rgb(156, 56, 205);
/* oklch */ color: oklch(55.1% 0.223 311.9);
Tailwind
colors: {
  custom: {
    50: '#be78dd',
    500: '#9c38cd',
    950: '#000000',
  },
}
SCSS
$custom: #9c38cd;
$custom-light: #be78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c38cd",
  "rgb": {
    "r": 156,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 280.268,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55131,
    "c": 0.22266,
    "h": 311.9
  },
  "luminance": 0.14304
}

Semantic roles & 50–950 ramp

primary
#9C38CD
secondary
#A5D18F
accent
#E34579
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9C38CD

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

Preview Lab → · Contrast checker → · Palette generator →

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