#8E2F90#8E2F90

#8E2F90 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.3% C 0.173 H 327.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8E2F90
RGBrgb(142, 47, 144)
HSLhsl(299, 51%, 37%)
HSVhsv(299, 67%, 56%)
CMYKcmyk(1.4%, 67.4%, 0%, 43.5%)
CIE-LABlab(37.48, 52.33, -34.01)
CIE-LCHlch(37.48, 62.41, 326.98°)
OKLaboklab(48.35% 0.145 -0.0942)
OKLCHoklch(48.35% 0.173 327)
XYZxyz(17.2056, 9.7986, 27.3652)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F90 #31902F
analogous
#5E2F90 #8E2F90 #902F61
triadic
#8E2F90 #908E2F #2F908E
tetradic
#8E2F90 #905E2F #31902F #2F6190
square
#8E2F90 #905E2F #31902F #2F6190
split-complementary
#8E2F90 #61902F #2F905E
monochromatic
#331134 #612062 #8E2F90 #BB3EBE #CD6BCF

Accessibility & contrast

On white

7.10
#8E2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8E2F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F90
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F90#FFFFFF#000000##FFFFFF
##8E2F901.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5093
Deuteranopia (green-blind)
#455C8D
Tritanopia (blue-blind)
#923D5B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e2f90;
/* rgb */ color: rgb(142, 47, 144);
/* oklch */ color: oklch(48.3% 0.173 327.0);
Tailwind
colors: {
  custom: {
    50: '#b270b1',
    500: '#8e2f90',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f90;
$custom-light: #b270b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f90",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 298.763,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48347,
    "c": 0.17285,
    "h": 327
  },
  "luminance": 0.09797
}

Semantic roles & 50–950 ramp

primary
#8E2F90
secondary
#67B665
accent
#DA4E50
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E2F90

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

Preview Lab → · Contrast checker → · Palette generator →

#8E2F90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva