#9E2087#9E2087

#9E2087 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.0% C 0.192 H 336.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9E2087
RGBrgb(158, 32, 135)
HSLhsl(311, 66%, 37%)
HSVhsv(311, 80%, 62%)
CMYKcmyk(0%, 79.7%, 14.6%, 38%)
CIE-LABlab(37.94, 59.82, -27.58)
CIE-LCHlch(37.94, 65.87, 335.25°)
OKLaboklab(49.05% 0.1764 -0.0751)
OKLCHoklch(49.05% 0.192 336.9)
XYZxyz(18.9906, 10.0532, 23.8573)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2087 #209E37
analogous
#76209E #9E2087 #9E2048
triadic
#9E2087 #879E20 #20879E
tetradic
#9E2087 #9E7620 #209E37 #20489E
square
#9E2087 #9E7620 #209E37 #20489E
split-complementary
#9E2087 #489E20 #209E76
monochromatic
#380B30 #6B165C #9E2087 #D12AB2 #DE5BC6

Accessibility & contrast

On white

6.98
#9E2087 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9E2087 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2087
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2087#FFFFFF#000000##FFFFFF
##9E20871.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D8A
Deuteranopia (green-blind)
#516084
Tritanopia (blue-blind)
#A72952
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2087;
/* rgb */ color: rgb(158, 32, 135);
/* oklch */ color: oklch(49.0% 0.192 336.9);
Tailwind
colors: {
  custom: {
    50: '#bf6baa',
    500: '#9e2087',
    950: '#000000',
  },
}
SCSS
$custom: #9e2087;
$custom-light: #bf6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2087",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 310.952,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49049,
    "c": 0.19172,
    "h": 336.9
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#9E2087
secondary
#58C26B
accent
#E95E3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E2087

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

Preview Lab → · Contrast checker → · Palette generator →

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