#8E2FAF#8E2FAF

#8E2FAF is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.3% C 0.200 H 315.8°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8E2FAF
RGBrgb(142, 47, 175)
HSLhsl(285, 58%, 44%)
HSVhsv(285, 73%, 69%)
CMYKcmyk(18.9%, 73.1%, 0%, 31.4%)
CIE-LABlab(39.38, 58.25, -49.65)
CIE-LCHlch(39.38, 76.53, 319.56°)
OKLaboklab(50.32% 0.1436 -0.1398)
OKLCHoklch(50.32% 0.2 315.8)
XYZxyz(19.9085, 10.8797, 41.6004)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2FAF #50AF2F
analogous
#4E2FAF #8E2FAF #AF2F90
triadic
#8E2FAF #AF8E2F #2FAF8E
tetradic
#8E2FAF #AF4E2F #50AF2F #2F90AF
square
#8E2FAF #AF4E2F #50AF2F #2F90AF
split-complementary
#8E2FAF #90AF2F #2FAF4E
monochromatic
#40154F #67227F #8E2FAF #AD4CCF #C37CDC

Accessibility & contrast

On white

6.61
#8E2FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8E2FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2FAF
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2FAF#FFFFFF#000000##FFFFFF
##8E2FAF1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#2D5FAC
Tritanopia (blue-blind)
#8C4A6C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e2faf;
/* rgb */ color: rgb(142, 47, 175);
/* oklch */ color: oklch(50.3% 0.200 315.8);
Tailwind
colors: {
  custom: {
    50: '#b371c8',
    500: '#8e2faf',
    950: '#000000',
  },
}
SCSS
$custom: #8e2faf;
$custom-light: #b371c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2faf",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 284.531,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50316,
    "c": 0.20045,
    "h": 315.8
  },
  "luminance": 0.10879
}

Semantic roles & 50–950 ramp

primary
#8E2FAF
secondary
#8AC475
accent
#E1476F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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