#9E308F#9E308F

#9E308F is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.8% C 0.180 H 333.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9E308F
RGBrgb(158, 48, 143)
HSLhsl(308, 53%, 40%)
HSVhsv(308, 70%, 62%)
CMYKcmyk(0%, 69.6%, 9.5%, 38%)
CIE-LABlab(40.19, 55.76, -28.95)
CIE-LCHlch(40.19, 62.82, 332.56°)
OKLaboklab(50.81% 0.1615 -0.0792)
OKLCHoklch(50.81% 0.18 333.9)
XYZxyz(20.1156, 11.3678, 27.1160)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E308F #309E3F
analogous
#76309E #9E308F #9E3058
triadic
#9E308F #8F9E30 #308F9E
tetradic
#9E308F #9E7630 #309E3F #30589E
square
#9E308F #9E7630 #309E3F #30589E
split-complementary
#9E308F #589E30 #309E76
monochromatic
#40133A #6F2265 #9E308F #C645B5 #D574C7

Accessibility & contrast

On white

6.42
#9E308F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9E308F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E308F
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E308F#FFFFFF#000000##FFFFFF
##9E308F1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5492
Deuteranopia (green-blind)
#54648C
Tritanopia (blue-blind)
#A5395B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e308f;
/* rgb */ color: rgb(158, 48, 143);
/* oklch */ color: oklch(50.8% 0.180 333.9);
Tailwind
colors: {
  custom: {
    50: '#be72b0',
    500: '#9e308f',
    950: '#000000',
  },
}
SCSS
$custom: #9e308f;
$custom-light: #be72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e308f",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 308.182,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50806,
    "c": 0.17986,
    "h": 333.9
  },
  "luminance": 0.11366
}

Semantic roles & 50–950 ramp

primary
#9E308F
secondary
#6DBD78
accent
#DD5F4B
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E308F

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

Preview Lab → · Contrast checker → · Palette generator →

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