#9E308E#9E308E

#9E308E is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.179 H 334.3°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9E308E
RGBrgb(158, 48, 142)
HSLhsl(309, 53%, 40%)
HSVhsv(309, 70%, 62%)
CMYKcmyk(0%, 69.6%, 10.1%, 38%)
CIE-LABlab(40.14, 55.60, -28.41)
CIE-LCHlch(40.14, 62.44, 332.93°)
OKLaboklab(50.75% 0.1614 -0.0776)
OKLCHoklch(50.75% 0.179 334.3)
XYZxyz(20.0402, 11.3377, 26.7189)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E308E #309E40
analogous
#77309E #9E308E #9E3057
triadic
#9E308E #8E9E30 #308E9E
tetradic
#9E308E #9E7730 #309E40 #30579E
square
#9E308E #9E7730 #309E40 #30579E
split-complementary
#9E308E #579E30 #309E77
monochromatic
#40133A #6F2264 #9E308E #C645B4 #D574C7

Accessibility & contrast

On white

6.43
#9E308E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E308E
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E308E#FFFFFF#000000##FFFFFF
##9E308E1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e308e;
/* rgb */ color: rgb(158, 48, 142);
/* oklch */ color: oklch(50.8% 0.179 334.3);
Tailwind
colors: {
  custom: {
    50: '#be72af',
    500: '#9e308e',
    950: '#000000',
  },
}
SCSS
$custom: #9e308e;
$custom-light: #be72af;
$custom-dark: #000000;
JSON
{
  "hex": "#9e308e",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 308.727,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50753,
    "c": 0.17909,
    "h": 334.3
  },
  "luminance": 0.11336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E308E

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

Preview Lab → · Contrast checker → · Palette generator →

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