#8E268E#8E268E

#8E268E is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.182 H 328.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8E268E
RGBrgb(142, 38, 142)
HSLhsl(300, 58%, 35%)
HSVhsv(300, 73%, 56%)
CMYKcmyk(0%, 73.2%, 0%, 44.3%)
CIE-LABlab(36.16, 55.39, -34.88)
CIE-LCHlch(36.16, 65.46, 327.80°)
OKLaboklab(47.36% 0.1545 -0.0966)
OKLCHoklch(47.36% 0.182 328)
XYZxyz(16.7307, 9.0912, 26.4595)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E268E #268E26
analogous
#5A268E #8E268E #8E265A
triadic
#8E268E #8E8E26 #268E8E
tetradic
#8E268E #8E5A26 #268E26 #265A8E
square
#8E268E #8E5A26 #268E26 #265A8E
split-complementary
#8E268E #5A8E26 #268E5A
monochromatic
#2D0C2D #5E195E #8E268E #BE33BE #D35BD3

Accessibility & contrast

On white

7.45
#8E268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8E268E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E268E
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E268E#FFFFFF#000000##FFFFFF
##8E268E1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124C91
Deuteranopia (green-blind)
#425A8B
Tritanopia (blue-blind)
#933658
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e268e;
/* rgb */ color: rgb(142, 38, 142);
/* oklch */ color: oklch(47.4% 0.182 328.0);
Tailwind
colors: {
  custom: {
    50: '#b26baf',
    500: '#8e268e',
    950: '#000000',
  },
}
SCSS
$custom: #8e268e;
$custom-light: #b26baf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e268e",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 300,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47363,
    "c": 0.18224,
    "h": 328
  },
  "luminance": 0.0909
}

Semantic roles & 50–950 ramp

primary
#8E268E
secondary
#58B858
accent
#E14747
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E268E

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

Preview Lab → · Contrast checker → · Palette generator →

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