#9C38C3#9C38C3

#9C38C3 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.213 H 314.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9C38C3
RGBrgb(156, 56, 195)
HSLhsl(283, 55%, 49%)
HSVhsv(283, 71%, 76%)
CMYKcmyk(20%, 71.3%, 0%, 23.5%)
CIE-LABlab(44.00, 61.63, -53.86)
CIE-LCHlch(44.00, 81.84, 318.85°)
OKLaboklab(54.44% 0.1501 -0.1518)
OKLCHoklch(54.44% 0.213 314.7)
XYZxyz(24.9732, 13.8373, 52.9745)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C38C3 #5FC338
analogous
#5638C3 #9C38C3 #C338A5
triadic
#9C38C3 #C39C38 #38C39C
tetradic
#9C38C3 #C35638 #5FC338 #38A5C3
square
#9C38C3 #C35638 #5FC338 #38A5C3
split-complementary
#9C38C3 #A5C338 #38C356
monochromatic
#501D64 #762A93 #9C38C3 #B465D3 #CB95E1

Accessibility & contrast

On white

5.57
#9C38C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9C38C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C38C3
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C38C3#FFFFFF#000000##FFFFFF
##9C38C31.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#326BC0
Tritanopia (blue-blind)
#99557A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9c38c3;
/* rgb */ color: rgb(156, 56, 195);
/* oklch */ color: oklch(54.4% 0.213 314.7);
Tailwind
colors: {
  custom: {
    50: '#bd78d6',
    500: '#9c38c3',
    950: '#000000',
  },
}
SCSS
$custom: #9c38c3;
$custom-light: #bd78d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c38c3",
  "rgb": {
    "r": 156,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 283.165,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54444,
    "c": 0.21344,
    "h": 314.7
  },
  "luminance": 0.13836
}

Semantic roles & 50–950 ramp

primary
#9C38C3
secondary
#9DCC8B
accent
#DF4973
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C38C3

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

Preview Lab → · Contrast checker → · Palette generator →

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