#9E2A90#9E2A90

#9E2A90 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.188 H 333.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9E2A90
RGBrgb(158, 42, 144)
HSLhsl(307, 58%, 39%)
HSVhsv(307, 73%, 62%)
CMYKcmyk(0%, 73.4%, 8.9%, 38%)
CIE-LABlab(39.48, 58.07, -30.68)
CIE-LCHlch(39.48, 65.68, 332.16°)
OKLaboklab(50.31% 0.1679 -0.0841)
OKLCHoklch(50.31% 0.188 333.4)
XYZxyz(19.9627, 10.9403, 27.4405)
Luminance0.1094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A90 #2A9E38
analogous
#722A9E #9E2A90 #9E2A56
triadic
#9E2A90 #909E2A #2A909E
tetradic
#9E2A90 #9E722A #2A9E38 #2A569E
square
#9E2A90 #9E722A #2A9E38 #2A569E
split-complementary
#9E2A90 #569E2A #2A9E72
monochromatic
#3D1038 #6E1D64 #9E2A90 #CB3AB9 #D86BCA

Accessibility & contrast

On white

6.59
#9E2A90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2A90
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A90#FFFFFF#000000##FFFFFF
##9E2A901.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265293
Deuteranopia (green-blind)
#51638D
Tritanopia (blue-blind)
#A5355A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2a90;
/* rgb */ color: rgb(158, 42, 144);
/* oklch */ color: oklch(50.3% 0.188 333.4);
Tailwind
colors: {
  custom: {
    50: '#be6fb1',
    500: '#9e2a90',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a90;
$custom-light: #be6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a90",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 307.241,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50307,
    "c": 0.18779,
    "h": 333.4
  },
  "luminance": 0.10939
}

Semantic roles & 50–950 ramp

primary
#9E2A90
secondary
#66BE70
accent
#E15947
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E2A90

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

Preview Lab → · Contrast checker → · Palette generator →

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