#9E2895#9E2895

#9E2895 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.194 H 331.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9E2895
RGBrgb(158, 40, 149)
HSLhsl(305, 60%, 39%)
HSVhsv(305, 75%, 62%)
CMYKcmyk(0%, 74.7%, 5.7%, 38%)
CIE-LABlab(39.51, 59.53, -33.67)
CIE-LCHlch(39.51, 68.39, 330.51°)
OKLaboklab(50.41% 0.1701 -0.0927)
OKLCHoklch(50.41% 0.194 331.4)
XYZxyz(20.2842, 10.9583, 29.4748)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2895 #289E31
analogous
#6C289E #9E2895 #9E285A
triadic
#9E2895 #959E28 #28959E
tetradic
#9E2895 #9E6C28 #289E31 #285A9E
square
#9E2895 #9E6C28 #289E31 #285A9E
split-complementary
#9E2895 #5A9E28 #289E6C
monochromatic
#3C0F39 #6D1C67 #9E2895 #CC37C1 #D968D0

Accessibility & contrast

On white

6.58
#9E2895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9E2895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2895
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2895#FFFFFF#000000##FFFFFF
##9E28951.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5398
Deuteranopia (green-blind)
#4E6392
Tritanopia (blue-blind)
#A5365C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2895;
/* rgb */ color: rgb(158, 40, 149);
/* oklch */ color: oklch(50.4% 0.194 331.4);
Tailwind
colors: {
  custom: {
    50: '#be6fb4',
    500: '#9e2895',
    950: '#000000',
  },
}
SCSS
$custom: #9e2895;
$custom-light: #be6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2895",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 304.576,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50414,
    "c": 0.19373,
    "h": 331.4
  },
  "luminance": 0.10957
}

Semantic roles & 50–950 ramp

primary
#9E2895
secondary
#63BF6A
accent
#E35145
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2895

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

Preview Lab → · Contrast checker → · Palette generator →

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