#9E2995#9E2995

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

Color values

HEX#9E2995
RGBrgb(158, 41, 149)
HSLhsl(305, 59%, 39%)
HSVhsv(305, 74%, 62%)
CMYKcmyk(0%, 74.1%, 5.7%, 38%)
CIE-LABlab(39.63, 59.20, -33.49)
CIE-LCHlch(39.63, 68.02, 330.50°)
OKLaboklab(50.5% 0.1692 -0.0922)
OKLCHoklch(50.5% 0.193 331.4)
XYZxyz(20.3183, 11.0265, 29.4861)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2995 #299E32
analogous
#6D299E #9E2995 #9E295B
triadic
#9E2995 #959E29 #29959E
tetradic
#9E2995 #9E6D29 #299E32 #295B9E
square
#9E2995 #9E6D29 #299E32 #295B9E
split-complementary
#9E2995 #5B9E29 #299E6D
monochromatic
#3D1039 #6D1C67 #9E2995 #CC39C0 #D869D0

Accessibility & contrast

On white

6.55
#9E2995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9E2995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2995
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2995#FFFFFF#000000##FFFFFF
##9E29951.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2995;
/* rgb */ color: rgb(158, 41, 149);
/* oklch */ color: oklch(50.5% 0.193 331.4);
Tailwind
colors: {
  custom: {
    50: '#be6fb4',
    500: '#9e2995',
    950: '#000000',
  },
}
SCSS
$custom: #9e2995;
$custom-light: #be6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2995",
  "rgb": {
    "r": 158,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 304.615,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50497,
    "c": 0.19265,
    "h": 331.4
  },
  "luminance": 0.11025
}

Semantic roles & 50–950 ramp

primary
#9E2995
secondary
#64BF6B
accent
#E25246
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2995

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

Preview Lab → · Contrast checker → · Palette generator →

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