#8E267E#8E267E

#8E267E is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.170 H 334.9°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8E267E
RGBrgb(142, 38, 126)
HSLhsl(309, 58%, 35%)
HSVhsv(309, 73%, 56%)
CMYKcmyk(0%, 73.2%, 11.3%, 44.3%)
CIE-LABlab(35.29, 52.76, -26.35)
CIE-LCHlch(35.29, 58.97, 333.46°)
OKLaboklab(46.46% 0.1538 -0.072)
OKLCHoklch(46.46% 0.17 334.9)
XYZxyz(15.6145, 8.6447, 20.5808)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E267E #268E36
analogous
#6A268E #8E267E #8E264A
triadic
#8E267E #7E8E26 #267E8E
tetradic
#8E267E #8E6A26 #268E36 #264A8E
square
#8E267E #8E6A26 #268E36 #264A8E
split-complementary
#8E267E #4A8E26 #268E6A
monochromatic
#2D0C28 #5E1953 #8E267E #BE33A9 #D35BC1

Accessibility & contrast

On white

7.70
#8E267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8E267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E267E
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E267E#FFFFFF#000000##FFFFFF
##8E267E1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254980
Deuteranopia (green-blind)
#4A587B
Tritanopia (blue-blind)
#952E4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e267e;
/* rgb */ color: rgb(142, 38, 126);
/* oklch */ color: oklch(46.5% 0.170 334.9);
Tailwind
colors: {
  custom: {
    50: '#b26ba3',
    500: '#8e267e',
    950: '#000000',
  },
}
SCSS
$custom: #8e267e;
$custom-light: #b26ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e267e",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 309.231,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46457,
    "c": 0.16977,
    "h": 334.9
  },
  "luminance": 0.08643
}

Semantic roles & 50–950 ramp

primary
#8E267E
secondary
#58B867
accent
#E15F47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E267E

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

Preview Lab → · Contrast checker → · Palette generator →

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