#8E4BAF#8E4BAF

#8E4BAF is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.7% C 0.162 H 313.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8E4BAF
RGBrgb(142, 75, 175)
HSLhsl(280, 40%, 49%)
HSVhsv(280, 57%, 69%)
CMYKcmyk(18.9%, 57.1%, 0%, 31.4%)
CIE-LABlab(44.06, 45.34, -42.16)
CIE-LCHlch(44.06, 61.91, 317.09°)
OKLaboklab(53.7% 0.1107 -0.1181)
OKLCHoklch(53.7% 0.162 313.2)
XYZxyz(21.4079, 13.8786, 42.1002)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BAF #6CAF4B
analogous
#5C4BAF #8E4BAF #AF4B9E
triadic
#8E4BAF #AF8E4B #4BAF8E
tetradic
#8E4BAF #AF5C4B #6CAF4B #4B9EAF
square
#8E4BAF #AF5C4B #6CAF4B #4B9EAF
split-complementary
#8E4BAF #9EAF4B #4BAF5C
monochromatic
#482659 #6B3984 #8E4BAF #A974C3 #C49FD6

Accessibility & contrast

On white

5.56
#8E4BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8E4BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BAF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BAF#FFFFFF#000000##FFFFFF
##8E4BAF1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E65B2
Deuteranopia (green-blind)
#476AAC
Tritanopia (blue-blind)
#8B5C76
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e4baf;
/* rgb */ color: rgb(142, 75, 175);
/* oklch */ color: oklch(53.7% 0.162 313.2);
Tailwind
colors: {
  custom: {
    50: '#b280c7',
    500: '#8e4baf',
    950: '#000000',
  },
}
SCSS
$custom: #8e4baf;
$custom-light: #b280c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4baf",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 280.2,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53696,
    "c": 0.16187,
    "h": 313.2
  },
  "luminance": 0.13878
}

Semantic roles & 50–950 ramp

primary
#8E4BAF
secondary
#A3C293
accent
#D05880
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8E4BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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