#8E1FB2#8E1FB2

#8E1FB2 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.2% C 0.219 H 315.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8E1FB2
RGBrgb(142, 31, 178)
HSLhsl(285, 70%, 41%)
HSVhsv(285, 83%, 70%)
CMYKcmyk(20.2%, 82.6%, 0%, 30.2%)
CIE-LABlab(37.75, 64.14, -54.06)
CIE-LCHlch(37.75, 83.89, 319.87°)
OKLaboklab(49.23% 0.1566 -0.1527)
OKLCHoklch(49.23% 0.219 315.7)
XYZxyz(19.6799, 9.9459, 42.9939)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1FB2 #43B21F
analogous
#441FB2 #8E1FB2 #B21F8C
triadic
#8E1FB2 #B28E1F #1FB28E
tetradic
#8E1FB2 #B2441F #43B21F #1F8CB2
square
#8E1FB2 #B2441F #43B21F #1F8CB2
split-complementary
#8E1FB2 #8CB21F #1FB244
monochromatic
#3B0D4A #64167E #8E1FB2 #B233DB #C667E5

Accessibility & contrast

On white

7.03
#8E1FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8E1FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1FB2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1FB2#FFFFFF#000000##FFFFFF
##8E1FB21.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#195CAF
Tritanopia (blue-blind)
#8B446B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e1fb2;
/* rgb */ color: rgb(142, 31, 178);
/* oklch */ color: oklch(49.2% 0.219 315.7);
Tailwind
colors: {
  custom: {
    50: '#b46aca',
    500: '#8e1fb2',
    950: '#000000',
  },
}
SCSS
$custom: #8e1fb2;
$custom-light: #b46aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1fb2",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 178
  },
  "hsl": {
    "h": 285.306,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49231,
    "c": 0.21869,
    "h": 315.7
  },
  "luminance": 0.09945
}

Semantic roles & 50–950 ramp

primary
#8E1FB2
secondary
#7CCA63
accent
#ED3B66
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120713
muted
#817A82

Preview Lab

Preview with #8E1FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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