#9B3EA2#9B3EA2

#9B3EA2 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 52.9% C 0.175 H 324.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9B3EA2
RGBrgb(155, 62, 162)
HSLhsl(296, 45%, 44%)
HSVhsv(296, 62%, 64%)
CMYKcmyk(4.3%, 61.7%, 0%, 36.5%)
CIE-LABlab(42.80, 52.44, -36.33)
CIE-LCHlch(42.80, 63.79, 325.28°)
OKLaboklab(52.92% 0.143 -0.1007)
OKLCHoklch(52.92% 0.175 324.8)
XYZxyz(21.7613, 13.0237, 35.5430)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3EA2 #45A23E
analogous
#693EA2 #9B3EA2 #A23E77
triadic
#9B3EA2 #A29B3E #3EA29B
tetradic
#9B3EA2 #A2693E #45A23E #3E77A2
square
#9B3EA2 #A2693E #45A23E #3E77A2
split-complementary
#9B3EA2 #77A23E #3EA269
monochromatic
#461C49 #712D76 #9B3EA2 #BA5CC1 #CD89D2

Accessibility & contrast

On white

5.83
#9B3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9B3EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3EA2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3EA2#FFFFFF#000000##FFFFFF
##9B3EA21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#50699F
Tritanopia (blue-blind)
#9E4C6A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b3ea2;
/* rgb */ color: rgb(155, 62, 162);
/* oklch */ color: oklch(52.9% 0.175 324.8);
Tailwind
colors: {
  custom: {
    50: '#bb79be',
    500: '#9b3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ea2;
$custom-light: #bb79be;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ea2",
  "rgb": {
    "r": 155,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 295.8,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52921,
    "c": 0.17485,
    "h": 324.8
  },
  "luminance": 0.13022
}

Semantic roles & 50–950 ramp

primary
#9B3EA2
secondary
#84BC80
accent
#D4535C
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9B3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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