#8E2B85#8E2B85

#8E2B85 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.3% C 0.169 H 331.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8E2B85
RGBrgb(142, 43, 133)
HSLhsl(305, 54%, 36%)
HSVhsv(305, 70%, 56%)
CMYKcmyk(0%, 69.7%, 6.3%, 44.3%)
CIE-LABlab(36.32, 52.02, -29.08)
CIE-LCHlch(36.32, 59.60, 330.79°)
OKLaboklab(47.32% 0.1489 -0.0799)
OKLCHoklch(47.32% 0.169 331.8)
XYZxyz(16.2528, 9.1733, 23.1004)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2B85 #2B8E34
analogous
#662B8E #8E2B85 #8E2B54
triadic
#8E2B85 #858E2B #2B858E
tetradic
#8E2B85 #8E662B #2B8E34 #2B548E
square
#8E2B85 #8E662B #2B8E34 #2B548E
split-complementary
#8E2B85 #548E2B #2B8E66
monochromatic
#300F2D #5F1D59 #8E2B85 #BD39B1 #D063C6

Accessibility & contrast

On white

7.41
#8E2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8E2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2B85
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2B85#FFFFFF#000000##FFFFFF
##8E2B851.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C88
Deuteranopia (green-blind)
#495A82
Tritanopia (blue-blind)
#943554
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2b85;
/* rgb */ color: rgb(142, 43, 133);
/* oklch */ color: oklch(47.3% 0.169 331.8);
Tailwind
colors: {
  custom: {
    50: '#b26da9',
    500: '#8e2b85',
    950: '#000000',
  },
}
SCSS
$custom: #8e2b85;
$custom-light: #b26da9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2b85",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 305.455,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47315,
    "c": 0.16897,
    "h": 331.8
  },
  "luminance": 0.09172
}

Semantic roles & 50–950 ramp

primary
#8E2B85
secondary
#5FB667
accent
#DD584B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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