#8F2EA9#8F2EA9

#8F2EA9 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.197 H 318.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8F2EA9
RGBrgb(143, 46, 169)
HSLhsl(287, 57%, 42%)
HSVhsv(287, 73%, 66%)
CMYKcmyk(15.4%, 72.8%, 0%, 33.7%)
CIE-LABlab(39.00, 57.65, -46.67)
CIE-LCHlch(39.00, 74.17, 321.01°)
OKLaboklab(49.95% 0.1465 -0.1311)
OKLCHoklch(49.95% 0.197 318.2)
XYZxyz(19.4651, 10.6591, 38.5605)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EA9 #48A92E
analogous
#522EA9 #8F2EA9 #A92E86
triadic
#8F2EA9 #A98F2E #2EA98F
tetradic
#8F2EA9 #A9522E #48A92E #2E86A9
square
#8F2EA9 #A9522E #48A92E #2E86A9
split-complementary
#8F2EA9 #86A92E #2EA952
monochromatic
#3E1449 #662179 #8F2EA9 #B147CD #C577DA

Accessibility & contrast

On white

6.71
#8F2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8F2EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EA9
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EA9#FFFFFF#000000##FFFFFF
##8F2EA91.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#345FA6
Tritanopia (blue-blind)
#8E4769
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2ea9;
/* rgb */ color: rgb(143, 46, 169);
/* oklch */ color: oklch(50.0% 0.197 318.2);
Tailwind
colors: {
  custom: {
    50: '#b470c3',
    500: '#8f2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ea9;
$custom-light: #b470c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ea9",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 287.317,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49953,
    "c": 0.19656,
    "h": 318.2
  },
  "luminance": 0.10658
}

Semantic roles & 50–950 ramp

primary
#8F2EA9
secondary
#82C271
accent
#E04768
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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