#8E267D#8E267D

#8E267D is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.4% C 0.169 H 335.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8E267D
RGBrgb(142, 38, 125)
HSLhsl(310, 58%, 35%)
HSVhsv(310, 73%, 56%)
CMYKcmyk(0%, 73.2%, 12%, 44.3%)
CIE-LABlab(35.24, 52.60, -25.80)
CIE-LCHlch(35.24, 58.59, 333.87°)
OKLaboklab(46.4% 0.1537 -0.0704)
OKLCHoklch(46.4% 0.169 335.4)
XYZxyz(15.5503, 8.6190, 20.2427)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E267D #268E37
analogous
#6B268E #8E267D #8E2649
triadic
#8E267D #7D8E26 #267D8E
tetradic
#8E267D #8E6B26 #268E37 #26498E
square
#8E267D #8E6B26 #268E37 #26498E
split-complementary
#8E267D #498E26 #268E6B
monochromatic
#2D0C28 #5E1952 #8E267D #BE33A7 #D35BC0

Accessibility & contrast

On white

7.71
#8E267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8E267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E267D
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E267D#FFFFFF#000000##FFFFFF
##8E267D1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26497F
Deuteranopia (green-blind)
#4A587A
Tritanopia (blue-blind)
#952E4E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e267d;
/* rgb */ color: rgb(142, 38, 125);
/* oklch */ color: oklch(46.4% 0.169 335.4);
Tailwind
colors: {
  custom: {
    50: '#b26ba3',
    500: '#8e267d',
    950: '#000000',
  },
}
SCSS
$custom: #8e267d;
$custom-light: #b26ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e267d",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 309.808,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46404,
    "c": 0.16903,
    "h": 335.4
  },
  "luminance": 0.08618
}

Semantic roles & 50–950 ramp

primary
#8E267D
secondary
#58B867
accent
#E16047
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E267D

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

Preview Lab → · Contrast checker → · Palette generator →

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