#9E3095#9E3095

#9E3095 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.1% C 0.184 H 331.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9E3095
RGBrgb(158, 48, 149)
HSLhsl(305, 53%, 40%)
HSVhsv(305, 70%, 62%)
CMYKcmyk(0%, 69.6%, 5.7%, 38%)
CIE-LABlab(40.50, 56.72, -32.11)
CIE-LCHlch(40.50, 65.18, 330.49°)
OKLaboklab(51.13% 0.162 -0.0883)
OKLCHoklch(51.13% 0.184 331.4)
XYZxyz(20.5823, 11.5545, 29.5741)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3095 #309E39
analogous
#70309E #9E3095 #9E305E
triadic
#9E3095 #959E30 #30959E
tetradic
#9E3095 #9E7030 #309E39 #305E9E
square
#9E3095 #9E7030 #309E39 #305E9E
split-complementary
#9E3095 #5E9E30 #309E70
monochromatic
#40133C #6F2269 #9E3095 #C645BC #D574CD

Accessibility & contrast

On white

6.34
#9E3095 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9E3095 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3095
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3095#FFFFFF#000000##FFFFFF
##9E30951.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285698
Deuteranopia (green-blind)
#516592
Tritanopia (blue-blind)
#A43C5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e3095;
/* rgb */ color: rgb(158, 48, 149);
/* oklch */ color: oklch(51.1% 0.184 331.4);
Tailwind
colors: {
  custom: {
    50: '#be72b4',
    500: '#9e3095',
    950: '#000000',
  },
}
SCSS
$custom: #9e3095;
$custom-light: #be72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3095",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 304.909,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51126,
    "c": 0.18447,
    "h": 331.4
  },
  "luminance": 0.11553
}

Semantic roles & 50–950 ramp

primary
#9E3095
secondary
#6DBD74
accent
#DD574B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #9E3095

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

Preview Lab → · Contrast checker → · Palette generator →

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