#9E309F#9E309F

#9E309F is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.192 H 327.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9E309F
RGBrgb(158, 48, 159)
HSLhsl(299, 54%, 41%)
HSVhsv(299, 70%, 62%)
CMYKcmyk(0.6%, 69.8%, 0%, 37.6%)
CIE-LABlab(41.04, 58.40, -37.29)
CIE-LCHlch(41.04, 69.29, 327.44°)
OKLaboklab(51.69% 0.1624 -0.1033)
OKLCHoklch(51.69% 0.192 327.5)
XYZxyz(21.4152, 11.8877, 33.9608)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E309F #319F30
analogous
#66309F #9E309F #9F3069
triadic
#9E309F #9F9E30 #309F9E
tetradic
#9E309F #9F6630 #319F30 #30699F
square
#9E309F #9F6630 #319F30 #30699F
split-complementary
#9E309F #699F30 #309F66
monochromatic
#411441 #6F2270 #9E309F #C645C7 #D474D5

Accessibility & contrast

On white

6.22
#9E309F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9E309F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E309F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E309F#FFFFFF#000000##FFFFFF
##9E309F1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D58A2
Deuteranopia (green-blind)
#4C669C
Tritanopia (blue-blind)
#A34064
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e309f;
/* rgb */ color: rgb(158, 48, 159);
/* oklch */ color: oklch(51.7% 0.192 327.5);
Tailwind
colors: {
  custom: {
    50: '#be73bc',
    500: '#9e309f',
    950: '#000000',
  },
}
SCSS
$custom: #9e309f;
$custom-light: #be73bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e309f",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 299.459,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51688,
    "c": 0.19246,
    "h": 327.5
  },
  "luminance": 0.11886
}

Semantic roles & 50–950 ramp

primary
#9E309F
secondary
#6EBD6E
accent
#DD4B4C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9E309F

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

Preview Lab → · Contrast checker → · Palette generator →

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