#9C38BB#9C38BB

#9C38BB is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 53.9% C 0.206 H 317.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9C38BB
RGBrgb(156, 56, 187)
HSLhsl(286, 54%, 48%)
HSVhsv(286, 70%, 73%)
CMYKcmyk(16.6%, 70.1%, 0%, 26.7%)
CIE-LABlab(43.49, 60.03, -50.01)
CIE-LCHlch(43.49, 78.14, 320.20°)
OKLaboklab(53.91% 0.1508 -0.1405)
OKLCHoklch(53.91% 0.206 317)
XYZxyz(24.0928, 13.4851, 48.3379)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C38BB #57BB38
analogous
#5B38BB #9C38BB #BB3898
triadic
#9C38BB #BB9C38 #38BB9C
tetradic
#9C38BB #BB5B38 #57BB38 #3898BB
square
#9C38BB #BB5B38 #57BB38 #3898BB
split-complementary
#9C38BB #98BB38 #38BB5B
monochromatic
#4D1C5D #752A8C #9C38BB #B561D0 #CB90DE

Accessibility & contrast

On white

5.68
#9C38BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9C38BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C38BB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C38BB#FFFFFF#000000##FFFFFF
##9C38BB1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#3A6AB8
Tritanopia (blue-blind)
#9B5276
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9c38bb;
/* rgb */ color: rgb(156, 56, 187);
/* oklch */ color: oklch(53.9% 0.206 317.0);
Tailwind
colors: {
  custom: {
    50: '#bd77d0',
    500: '#9c38bb',
    950: '#000000',
  },
}
SCSS
$custom: #9c38bb;
$custom-light: #bd77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c38bb",
  "rgb": {
    "r": 156,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 285.802,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53914,
    "c": 0.2061,
    "h": 317
  },
  "luminance": 0.13484
}

Semantic roles & 50–950 ramp

primary
#9C38BB
secondary
#96C886
accent
#DD4B6D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9C38BB

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

Preview Lab → · Contrast checker → · Palette generator →

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