#8E268F#8E268F

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

Color values

HEX#8E268F
RGBrgb(142, 38, 143)
HSLhsl(299, 58%, 35%)
HSVhsv(299, 73%, 56%)
CMYKcmyk(0.7%, 73.4%, 0%, 43.9%)
CIE-LABlab(36.22, 55.56, -35.40)
CIE-LCHlch(36.22, 65.88, 327.50°)
OKLaboklab(47.42% 0.1545 -0.0981)
OKLCHoklch(47.42% 0.183 327.6)
XYZxyz(16.8061, 9.1214, 26.8567)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E268F #278F26
analogous
#5A268F #8E268F #8F265B
triadic
#8E268F #8F8E26 #268F8E
tetradic
#8E268F #8F5A26 #278F26 #265B8F
square
#8E268F #8F5A26 #278F26 #265B8F
split-complementary
#8E268F #5B8F26 #268F5A
monochromatic
#2E0C2E #5E195F #8E268F #BE33BF #D25CD4

Accessibility & contrast

On white

7.44
#8E268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E268F
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E268F#FFFFFF#000000##FFFFFF
##8E268F1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104D92
Deuteranopia (green-blind)
#415A8C
Tritanopia (blue-blind)
#923658
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e268f;
/* rgb */ color: rgb(142, 38, 143);
/* oklch */ color: oklch(47.4% 0.183 327.6);
Tailwind
colors: {
  custom: {
    50: '#b26bb0',
    500: '#8e268f',
    950: '#000000',
  },
}
SCSS
$custom: #8e268f;
$custom-light: #b26bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e268f",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 299.429,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47423,
    "c": 0.18305,
    "h": 327.6
  },
  "luminance": 0.0912
}

Semantic roles & 50–950 ramp

primary
#8E268F
secondary
#59B958
accent
#E14748
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E268F

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

Preview Lab → · Contrast checker → · Palette generator →

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