#8E288F#8E288F

#8E288F is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.181 H 327.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8E288F
RGBrgb(142, 40, 143)
HSLhsl(299, 56%, 36%)
HSVhsv(299, 72%, 56%)
CMYKcmyk(0.7%, 72%, 0%, 43.9%)
CIE-LABlab(36.47, 54.85, -35.00)
CIE-LCHlch(36.47, 65.07, 327.46°)
OKLaboklab(47.6% 0.1525 -0.097)
OKLCHoklch(47.6% 0.181 327.5)
XYZxyz(16.8718, 9.2527, 26.8786)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E288F #298F28
analogous
#5A288F #8E288F #8F285C
triadic
#8E288F #8F8E28 #288F8E
tetradic
#8E288F #8F5A28 #298F28 #285C8F
square
#8E288F #8F5A28 #298F28 #285C8F
split-complementary
#8E288F #5C8F28 #288F5A
monochromatic
#2F0D2F #5F1B5F #8E288F #BD35BF #D15FD2

Accessibility & contrast

On white

7.37
#8E288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8E288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E288F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E288F#FFFFFF#000000##FFFFFF
##8E288F1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D92
Deuteranopia (green-blind)
#425A8C
Tritanopia (blue-blind)
#923859
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e288f;
/* rgb */ color: rgb(142, 40, 143);
/* oklch */ color: oklch(47.6% 0.181 327.5);
Tailwind
colors: {
  custom: {
    50: '#b26cb0',
    500: '#8e288f',
    950: '#000000',
  },
}
SCSS
$custom: #8e288f;
$custom-light: #b26cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e288f",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 299.417,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47601,
    "c": 0.18076,
    "h": 327.5
  },
  "luminance": 0.09252
}

Semantic roles & 50–950 ramp

primary
#8E288F
secondary
#5CB85B
accent
#E0484A
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E288F

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

Preview Lab → · Contrast checker → · Palette generator →

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