#9B38AE#9B38AE

#9B38AE is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.0% C 0.194 H 320.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9B38AE
RGBrgb(155, 56, 174)
HSLhsl(290, 51%, 45%)
HSVhsv(290, 68%, 68%)
CMYKcmyk(10.9%, 67.8%, 0%, 31.8%)
CIE-LABlab(42.54, 57.29, -43.87)
CIE-LCHlch(42.54, 72.16, 322.55°)
OKLaboklab(52.95% 0.1502 -0.1226)
OKLCHoklch(52.95% 0.194 320.8)
XYZxyz(22.5708, 12.8540, 41.3284)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B38AE #4BAE38
analogous
#6038AE #9B38AE #AE3886
triadic
#9B38AE #AE9B38 #38AE9B
tetradic
#9B38AE #AE6038 #4BAE38 #3886AE
square
#9B38AE #AE6038 #4BAE38 #3886AE
split-complementary
#9B38AE #86AE38 #38AE60
monochromatic
#491A51 #722980 #9B38AE #B859CA #CC88D9

Accessibility & contrast

On white

5.88
#9B38AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9B38AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B38AE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B38AE#FFFFFF#000000##FFFFFF
##9B38AE1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5DB1
Deuteranopia (green-blind)
#4468AB
Tritanopia (blue-blind)
#9C4D6F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b38ae;
/* rgb */ color: rgb(155, 56, 174);
/* oklch */ color: oklch(53.0% 0.194 320.8);
Tailwind
colors: {
  custom: {
    50: '#bc77c7',
    500: '#9b38ae',
    950: '#000000',
  },
}
SCSS
$custom: #9b38ae;
$custom-light: #bc77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b38ae",
  "rgb": {
    "r": 155,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 290.339,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52954,
    "c": 0.1939,
    "h": 320.8
  },
  "luminance": 0.12853
}

Semantic roles & 50–950 ramp

primary
#9B38AE
secondary
#8AC37F
accent
#DB4D64
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B38AE

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

Preview Lab → · Contrast checker → · Palette generator →

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