#8E2FB8#8E2FB8

#8E2FB8 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.209 H 313.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8E2FB8
RGBrgb(142, 47, 184)
HSLhsl(282, 59%, 45%)
HSVhsv(282, 74%, 72%)
CMYKcmyk(22.8%, 74.5%, 0%, 27.8%)
CIE-LABlab(39.99, 60.08, -53.98)
CIE-LCHlch(39.99, 80.77, 318.06°)
OKLaboklab(50.95% 0.1424 -0.1525)
OKLCHoklch(50.95% 0.209 313)
XYZxyz(20.8220, 11.2451, 46.4118)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2FB8 #59B82F
analogous
#4A2FB8 #8E2FB8 #B82F9D
triadic
#8E2FB8 #B88E2F #2FB88E
tetradic
#8E2FB8 #B84A2F #59B82F #2F9DB8
square
#8E2FB8 #B84A2F #59B82F #2F9DB8
split-complementary
#8E2FB8 #9DB82F #2FB84A
monochromatic
#431657 #682387 #8E2FB8 #AB52D3 #C382DF

Accessibility & contrast

On white

6.46
#8E2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8E2FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2FB8
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2FB8#FFFFFF#000000##FFFFFF
##8E2FB81.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#2060B5
Tritanopia (blue-blind)
#894E71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e2fb8;
/* rgb */ color: rgb(142, 47, 184);
/* oklch */ color: oklch(50.9% 0.209 313.0);
Tailwind
colors: {
  custom: {
    50: '#b371ce',
    500: '#8e2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #8e2fb8;
$custom-light: #b371ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2fb8",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 281.606,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50946,
    "c": 0.20871,
    "h": 313
  },
  "luminance": 0.11245
}

Semantic roles & 50–950 ramp

primary
#8E2FB8
secondary
#92C87B
accent
#E24575
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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