#9B38C2#9B38C2

#9B38C2 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.2% C 0.212 H 314.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9B38C2
RGBrgb(155, 56, 194)
HSLhsl(283, 55%, 49%)
HSVhsv(283, 71%, 76%)
CMYKcmyk(20.1%, 71.1%, 0%, 23.9%)
CIE-LABlab(43.79, 61.22, -53.62)
CIE-LCHlch(43.79, 81.38, 318.79°)
OKLaboklab(54.25% 0.1489 -0.1511)
OKLCHoklch(54.25% 0.212 314.6)
XYZxyz(24.6677, 13.6928, 52.3720)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B38C2 #5FC238
analogous
#5638C2 #9B38C2 #C238A4
triadic
#9B38C2 #C29B38 #38C29B
tetradic
#9B38C2 #C25638 #5FC238 #38A4C2
square
#9B38C2 #C25638 #5FC238 #38A4C2
split-complementary
#9B38C2 #A4C238 #38C256
monochromatic
#4F1D63 #752A93 #9B38C2 #B365D2 #CB94E0

Accessibility & contrast

On white

5.62
#9B38C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9B38C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B38C2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B38C2#FFFFFF#000000##FFFFFF
##9B38C21.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#326ABF
Tritanopia (blue-blind)
#985579
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b38c2;
/* rgb */ color: rgb(155, 56, 194);
/* oklch */ color: oklch(54.2% 0.212 314.6);
Tailwind
colors: {
  custom: {
    50: '#bd77d5',
    500: '#9b38c2',
    950: '#000000',
  },
}
SCSS
$custom: #9b38c2;
$custom-light: #bd77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b38c2",
  "rgb": {
    "r": 155,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 283.043,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54245,
    "c": 0.21216,
    "h": 314.6
  },
  "luminance": 0.13692
}

Semantic roles & 50–950 ramp

primary
#9B38C2
secondary
#9DCB8A
accent
#DF4973
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9B38C2

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

Preview Lab → · Contrast checker → · Palette generator →

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