#8F2EA4#8F2EA4

#8F2EA4 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.6% C 0.192 H 319.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8F2EA4
RGBrgb(143, 46, 164)
HSLhsl(289, 56%, 41%)
HSVhsv(289, 72%, 64%)
CMYKcmyk(12.8%, 72%, 0%, 35.7%)
CIE-LABlab(38.68, 56.68, -44.19)
CIE-LCHlch(38.68, 71.87, 322.06°)
OKLaboklab(49.62% 0.1469 -0.1238)
OKLCHoklch(49.62% 0.192 319.9)
XYZxyz(19.0047, 10.4749, 36.1356)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EA4 #43A42E
analogous
#542EA4 #8F2EA4 #A42E7E
triadic
#8F2EA4 #A48F2E #2EA48F
tetradic
#8F2EA4 #A4542E #43A42E #2E7EA4
square
#8F2EA4 #A4542E #43A42E #2E7EA4
split-complementary
#8F2EA4 #7EA42E #2EA454
monochromatic
#3C1344 #652174 #8F2EA4 #B345CB #C674D8

Accessibility & contrast

On white

6.79
#8F2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8F2EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EA4
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EA4#FFFFFF#000000##FFFFFF
##8F2EA41.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#385EA1
Tritanopia (blue-blind)
#8F4566
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2ea4;
/* rgb */ color: rgb(143, 46, 164);
/* oklch */ color: oklch(49.6% 0.192 319.9);
Tailwind
colors: {
  custom: {
    50: '#b370bf',
    500: '#8f2ea4',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ea4;
$custom-light: #b370bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ea4",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 289.322,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49624,
    "c": 0.19209,
    "h": 319.9
  },
  "luminance": 0.10474
}

Semantic roles & 50–950 ramp

primary
#8F2EA4
secondary
#7DC06E
accent
#DF4863
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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