#9B38C0#9B38C0

#9B38C0 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.1% C 0.210 H 315.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9B38C0
RGBrgb(155, 56, 192)
HSLhsl(284, 55%, 49%)
HSVhsv(284, 71%, 75%)
CMYKcmyk(19.3%, 70.8%, 0%, 24.7%)
CIE-LABlab(43.66, 60.82, -52.66)
CIE-LCHlch(43.66, 80.45, 319.11°)
OKLaboklab(54.11% 0.1491 -0.1483)
OKLCHoklch(54.11% 0.21 315.2)
XYZxyz(24.4446, 13.6036, 51.1970)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B38C0 #5DC038
analogous
#5738C0 #9B38C0 #C038A1
triadic
#9B38C0 #C09B38 #38C09B
tetradic
#9B38C0 #C05738 #5DC038 #38A1C0
square
#9B38C0 #C05738 #5DC038 #38A1C0
split-complementary
#9B38C0 #A1C038 #38C057
monochromatic
#4E1C61 #752A91 #9B38C0 #B464D2 #CB93DF

Accessibility & contrast

On white

5.64
#9B38C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9B38C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B38C0
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B38C0#FFFFFF#000000##FFFFFF
##9B38C01.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#346ABD
Tritanopia (blue-blind)
#985478
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b38c0;
/* rgb */ color: rgb(155, 56, 192);
/* oklch */ color: oklch(54.1% 0.210 315.2);
Tailwind
colors: {
  custom: {
    50: '#bc77d4',
    500: '#9b38c0',
    950: '#000000',
  },
}
SCSS
$custom: #9b38c0;
$custom-light: #bc77d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b38c0",
  "rgb": {
    "r": 155,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 283.676,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5411,
    "c": 0.21032,
    "h": 315.2
  },
  "luminance": 0.13603
}

Semantic roles & 50–950 ramp

primary
#9B38C0
secondary
#9BCB89
accent
#DE4A72
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9B38C0

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

Preview Lab → · Contrast checker → · Palette generator →

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