#8E258F#8E258F

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

Color values

HEX#8E258F
RGBrgb(142, 37, 143)
HSLhsl(299, 59%, 35%)
HSVhsv(299, 74%, 56%)
CMYKcmyk(0.7%, 74.1%, 0%, 43.9%)
CIE-LABlab(36.10, 55.91, -35.59)
CIE-LCHlch(36.10, 66.28, 327.52°)
OKLaboklab(47.34% 0.1555 -0.0987)
OKLCHoklch(47.34% 0.184 327.6)
XYZxyz(16.7746, 9.0583, 26.8462)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E258F #268F25
analogous
#59258F #8E258F #8F255B
triadic
#8E258F #8F8E25 #258F8E
tetradic
#8E258F #8F5925 #268F25 #255B8F
square
#8E258F #8F5925 #268F25 #255B8F
split-complementary
#8E258F #5B8F25 #258F59
monochromatic
#2D0C2E #5E185E #8E258F #BE32C0 #D35AD4

Accessibility & contrast

On white

7.47
#8E258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8E258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E258F
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E258F#FFFFFF#000000##FFFFFF
##8E258F1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e258f;
/* rgb */ color: rgb(142, 37, 143);
/* oklch */ color: oklch(47.3% 0.184 327.6);
Tailwind
colors: {
  custom: {
    50: '#b36bb0',
    500: '#8e258f',
    950: '#000000',
  },
}
SCSS
$custom: #8e258f;
$custom-light: #b36bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e258f",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 299.434,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47336,
    "c": 0.18416,
    "h": 327.6
  },
  "luminance": 0.09057
}

Semantic roles & 50–950 ramp

primary
#8E258F
secondary
#58B957
accent
#E24647
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E258F

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

Preview Lab → · Contrast checker → · Palette generator →

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