#9B38C4#9B38C4

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

Color values

HEX#9B38C4
RGBrgb(155, 56, 196)
HSLhsl(282, 56%, 49%)
HSVhsv(282, 71%, 77%)
CMYKcmyk(20.9%, 71.4%, 0%, 23.1%)
CIE-LABlab(43.92, 61.63, -54.57)
CIE-LCHlch(43.92, 82.32, 318.48°)
OKLaboklab(54.38% 0.1487 -0.1539)
OKLCHoklch(54.38% 0.214 314)
XYZxyz(24.8939, 13.7833, 53.5630)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B38C4 #61C438
analogous
#5538C4 #9B38C4 #C438A7
triadic
#9B38C4 #C49B38 #38C49B
tetradic
#9B38C4 #C45538 #61C438 #38A7C4
square
#9B38C4 #C45538 #61C438 #38A7C4
split-complementary
#9B38C4 #A7C438 #38C455
monochromatic
#501D65 #752A94 #9B38C4 #B366D3 #CB96E1

Accessibility & contrast

On white

5.59
#9B38C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9B38C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B38C4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B38C4#FFFFFF#000000##FFFFFF
##9B38C41.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#2F6AC1
Tritanopia (blue-blind)
#97567B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9b38c4;
/* rgb */ color: rgb(155, 56, 196);
/* oklch */ color: oklch(54.4% 0.214 314.0);
Tailwind
colors: {
  custom: {
    50: '#bd77d7',
    500: '#9b38c4',
    950: '#000000',
  },
}
SCSS
$custom: #9b38c4;
$custom-light: #bd77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b38c4",
  "rgb": {
    "r": 155,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 282.429,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5438,
    "c": 0.21401,
    "h": 314
  },
  "luminance": 0.13782
}

Semantic roles & 50–950 ramp

primary
#9B38C4
secondary
#9FCC8C
accent
#DF4975
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9B38C4

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

Preview Lab → · Contrast checker → · Palette generator →

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