#9C38AE#9C38AE

#9C38AE is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.1% C 0.194 H 321.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9C38AE
RGBrgb(156, 56, 174)
HSLhsl(291, 51%, 45%)
HSVhsv(291, 68%, 68%)
CMYKcmyk(10.3%, 67.8%, 0%, 31.8%)
CIE-LABlab(42.69, 57.52, -43.62)
CIE-LCHlch(42.69, 72.19, 322.82°)
OKLaboklab(53.09% 0.1514 -0.1218)
OKLCHoklch(53.09% 0.194 321.2)
XYZxyz(22.7636, 12.9534, 41.3374)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C38AE #4AAE38
analogous
#6138AE #9C38AE #AE3885
triadic
#9C38AE #AE9C38 #38AE9C
tetradic
#9C38AE #AE6138 #4AAE38 #3885AE
square
#9C38AE #AE6138 #4AAE38 #3885AE
split-complementary
#9C38AE #85AE38 #38AE61
monochromatic
#491A51 #722980 #9C38AE #B959CA #CC88D9

Accessibility & contrast

On white

5.85
#9C38AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9C38AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C38AE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C38AE#FFFFFF#000000##FFFFFF
##9C38AE1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115EB1
Deuteranopia (green-blind)
#4568AB
Tritanopia (blue-blind)
#9D4C6F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9c38ae;
/* rgb */ color: rgb(156, 56, 174);
/* oklch */ color: oklch(53.1% 0.194 321.2);
Tailwind
colors: {
  custom: {
    50: '#bd77c7',
    500: '#9c38ae',
    950: '#000000',
  },
}
SCSS
$custom: #9c38ae;
$custom-light: #bd77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c38ae",
  "rgb": {
    "r": 156,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 290.847,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53092,
    "c": 0.19435,
    "h": 321.2
  },
  "luminance": 0.12952
}

Semantic roles & 50–950 ramp

primary
#9C38AE
secondary
#89C37F
accent
#DB4D63
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C38AE

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

Preview Lab → · Contrast checker → · Palette generator →

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