#9D2E90#9D2E90

#9D2E90 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.183 H 333.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9D2E90
RGBrgb(157, 46, 144)
HSLhsl(307, 55%, 40%)
HSVhsv(307, 71%, 62%)
CMYKcmyk(0%, 70.7%, 8.3%, 38.4%)
CIE-LABlab(39.81, 56.41, -30.17)
CIE-LCHlch(39.81, 63.97, 331.86°)
OKLaboklab(50.51% 0.1627 -0.0827)
OKLCHoklch(50.51% 0.183 333.1)
XYZxyz(19.9158, 11.1373, 27.4809)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E90 #2E9D3B
analogous
#732E9D #9D2E90 #9D2E59
triadic
#9D2E90 #909D2E #2E909D
tetradic
#9D2E90 #9D732E #2E9D3B #2E599D
square
#9D2E90 #9D732E #2E9D3B #2E599D
split-complementary
#9D2E90 #599D2E #2E9D73
monochromatic
#3E1239 #6E2065 #9D2E90 #C741B8 #D570C9

Accessibility & contrast

On white

6.51
#9D2E90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9D2E90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2E90
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E90#FFFFFF#000000##FFFFFF
##9D2E901.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5493
Deuteranopia (green-blind)
#52638D
Tritanopia (blue-blind)
#A4385B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d2e90;
/* rgb */ color: rgb(157, 46, 144);
/* oklch */ color: oklch(50.5% 0.183 333.1);
Tailwind
colors: {
  custom: {
    50: '#bd71b1',
    500: '#9d2e90',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e90;
$custom-light: #bd71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e90",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 307.027,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50513,
    "c": 0.18251,
    "h": 333.1
  },
  "luminance": 0.11136
}

Semantic roles & 50–950 ramp

primary
#9D2E90
secondary
#6ABD74
accent
#DE5B4A
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9D2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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