#9E308D#9E308D

#9E308D is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.7% C 0.178 H 334.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9E308D
RGBrgb(158, 48, 141)
HSLhsl(309, 53%, 40%)
HSVhsv(309, 70%, 62%)
CMYKcmyk(0%, 69.6%, 10.8%, 38%)
CIE-LABlab(40.09, 55.44, -27.88)
CIE-LCHlch(40.09, 62.05, 333.30°)
OKLaboklab(50.7% 0.1613 -0.0761)
OKLCHoklch(50.7% 0.178 334.7)
XYZxyz(19.9654, 11.3078, 26.3252)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E308D #309E41
analogous
#78309E #9E308D #9E3056
triadic
#9E308D #8D9E30 #308D9E
tetradic
#9E308D #9E7830 #309E41 #30569E
square
#9E308D #9E7830 #309E41 #30569E
split-complementary
#9E308D #569E30 #309E78
monochromatic
#401339 #6F2263 #9E308D #C645B2 #D574C6

Accessibility & contrast

On white

6.44
#9E308D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9E308D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E308D
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E308D#FFFFFF#000000##FFFFFF
##9E308D1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5490
Deuteranopia (green-blind)
#55648A
Tritanopia (blue-blind)
#A6385A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e308d;
/* rgb */ color: rgb(158, 48, 141);
/* oklch */ color: oklch(50.7% 0.178 334.7);
Tailwind
colors: {
  custom: {
    50: '#be72ae',
    500: '#9e308d',
    950: '#000000',
  },
}
SCSS
$custom: #9e308d;
$custom-light: #be72ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9e308d",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 309.273,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50702,
    "c": 0.17834,
    "h": 334.7
  },
  "luminance": 0.11306
}

Semantic roles & 50–950 ramp

primary
#9E308D
secondary
#6DBD79
accent
#DD624B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E308D

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

Preview Lab → · Contrast checker → · Palette generator →

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