#9E1895#9E1895

#9E1895 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.208 H 331.4°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9E1895
RGBrgb(158, 24, 149)
HSLhsl(304, 74%, 36%)
HSVhsv(304, 85%, 62%)
CMYKcmyk(0%, 84.8%, 5.7%, 38%)
CIE-LABlab(38.01, 63.86, -36.05)
CIE-LCHlch(38.01, 73.33, 330.56°)
OKLaboklab(49.34% 0.1826 -0.0995)
OKLCHoklch(49.34% 0.208 331.4)
XYZxyz(19.8520, 10.0940, 29.3307)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1895 #189E21
analogous
#64189E #9E1895 #9E1852
triadic
#9E1895 #959E18 #18959E
tetradic
#9E1895 #9E6418 #189E21 #18529E
square
#9E1895 #9E6418 #189E21 #18529E
split-complementary
#9E1895 #529E18 #189E64
monochromatic
#340831 #691063 #9E1895 #D320C7 #E44DDA

Accessibility & contrast

On white

6.96
#9E1895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9E1895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1895
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1895#FFFFFF#000000##FFFFFF
##9E18951.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E98
Deuteranopia (green-blind)
#486092
Tritanopia (blue-blind)
#A52D59
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1895;
/* rgb */ color: rgb(158, 24, 149);
/* oklch */ color: oklch(49.3% 0.208 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf69b4',
    500: '#9e1895',
    950: '#000000',
  },
}
SCSS
$custom: #9e1895;
$custom-light: #bf69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1895",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 304.03,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49344,
    "c": 0.20798,
    "h": 331.4
  },
  "luminance": 0.10092
}

Semantic roles & 50–950 ramp

primary
#9E1895
secondary
#4CC654
accent
#F04438
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1895

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

Preview Lab → · Contrast checker → · Palette generator →

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