#8F2EA3#8F2EA3

#8F2EA3 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.191 H 320.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8F2EA3
RGBrgb(143, 46, 163)
HSLhsl(290, 56%, 41%)
HSVhsv(290, 72%, 64%)
CMYKcmyk(12.3%, 71.8%, 0%, 36.1%)
CIE-LABlab(38.62, 56.49, -43.69)
CIE-LCHlch(38.62, 71.41, 322.28°)
OKLaboklab(49.56% 0.147 -0.1223)
OKLCHoklch(49.56% 0.191 320.2)
XYZxyz(18.9147, 10.4389, 35.6618)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EA3 #42A32E
analogous
#542EA3 #8F2EA3 #A32E7C
triadic
#8F2EA3 #A38F2E #2EA38F
tetradic
#8F2EA3 #A3542E #42A32E #2E7CA3
square
#8F2EA3 #A3542E #42A32E #2E7CA3
split-complementary
#8F2EA3 #7CA32E #2EA354
monochromatic
#3B1344 #652173 #8F2EA3 #B344CA #C774D8

Accessibility & contrast

On white

6.80
#8F2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F2EA3
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EA3#FFFFFF#000000##FFFFFF
##8F2EA31.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#395EA0
Tritanopia (blue-blind)
#904465
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2ea3;
/* rgb */ color: rgb(143, 46, 163);
/* oklch */ color: oklch(49.6% 0.191 320.2);
Tailwind
colors: {
  custom: {
    50: '#b370bf',
    500: '#8f2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ea3;
$custom-light: #b370bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ea3",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 289.744,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49559,
    "c": 0.19121,
    "h": 320.2
  },
  "luminance": 0.10438
}

Semantic roles & 50–950 ramp

primary
#8F2EA3
secondary
#7BBF6D
accent
#DF4962
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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