#9E309B#9E309B

#9E309B is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.189 H 329.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9E309B
RGBrgb(158, 48, 155)
HSLhsl(302, 53%, 40%)
HSVhsv(302, 70%, 62%)
CMYKcmyk(0%, 69.6%, 1.9%, 38%)
CIE-LABlab(40.82, 57.72, -35.23)
CIE-LCHlch(40.82, 67.62, 328.60°)
OKLaboklab(51.46% 0.1623 -0.0973)
OKLCHoklch(51.46% 0.189 329.1)
XYZxyz(21.0737, 11.7511, 32.1622)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E309B #309E33
analogous
#6A309E #9E309B #9E3064
triadic
#9E309B #9B9E30 #309B9E
tetradic
#9E309B #9E6A30 #309E33 #30649E
square
#9E309B #9E6A30 #309E33 #30649E
split-complementary
#9E309B #649E30 #309E6A
monochromatic
#40133F #6F226D #9E309B #C645C3 #D574D2

Accessibility & contrast

On white

6.27
#9E309B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9E309B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E309B
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E309B#FFFFFF#000000##FFFFFF
##9E309B1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22579E
Deuteranopia (green-blind)
#4E6598
Tritanopia (blue-blind)
#A33F62
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e309b;
/* rgb */ color: rgb(158, 48, 155);
/* oklch */ color: oklch(51.5% 0.189 329.1);
Tailwind
colors: {
  custom: {
    50: '#be72b9',
    500: '#9e309b',
    950: '#000000',
  },
}
SCSS
$custom: #9e309b;
$custom-light: #be72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e309b",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 301.636,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51459,
    "c": 0.18923,
    "h": 329.1
  },
  "luminance": 0.1175
}

Semantic roles & 50–950 ramp

primary
#9E309B
secondary
#6DBD6F
accent
#DD4F4B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #9E309B

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

Preview Lab → · Contrast checker → · Palette generator →

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