#8E2F85#8E2F85

#8E2F85 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.7% C 0.164 H 331.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8E2F85
RGBrgb(142, 47, 133)
HSLhsl(306, 50%, 37%)
HSVhsv(306, 67%, 56%)
CMYKcmyk(0%, 66.9%, 6.3%, 44.3%)
CIE-LABlab(36.89, 50.42, -28.18)
CIE-LCHlch(36.89, 57.76, 330.80°)
OKLaboklab(47.73% 0.1442 -0.0773)
OKLCHoklch(47.73% 0.164 331.8)
XYZxyz(16.4055, 9.4785, 23.1512)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F85 #2F8E38
analogous
#682F8E #8E2F85 #8E2F56
triadic
#8E2F85 #858E2F #2F858E
tetradic
#8E2F85 #8E682F #2F8E38 #2F568E
square
#8E2F85 #8E682F #2F8E38 #2F568E
split-complementary
#8E2F85 #568E2F #2F8E68
monochromatic
#32112F #60205A #8E2F85 #BC3EB0 #CE6AC4

Accessibility & contrast

On white

7.25
#8E2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8E2F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F85
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F85#FFFFFF#000000##FFFFFF
##8E2F851.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4E88
Deuteranopia (green-blind)
#4B5C83
Tritanopia (blue-blind)
#943856
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e2f85;
/* rgb */ color: rgb(142, 47, 133);
/* oklch */ color: oklch(47.7% 0.164 331.8);
Tailwind
colors: {
  custom: {
    50: '#b26fa9',
    500: '#8e2f85',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f85;
$custom-light: #b26fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f85",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 305.684,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47731,
    "c": 0.16365,
    "h": 331.8
  },
  "luminance": 0.09477
}

Semantic roles & 50–950 ramp

primary
#8E2F85
secondary
#64B56C
accent
#DA5B4E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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