#8F2EA2#8F2EA2

#8F2EA2 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.190 H 320.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8F2EA2
RGBrgb(143, 46, 162)
HSLhsl(290, 56%, 41%)
HSVhsv(290, 72%, 64%)
CMYKcmyk(11.7%, 71.6%, 0%, 36.5%)
CIE-LABlab(38.56, 56.30, -43.19)
CIE-LCHlch(38.56, 70.96, 322.51°)
OKLaboklab(49.5% 0.147 -0.1209)
OKLCHoklch(49.5% 0.19 320.6)
XYZxyz(18.8255, 10.4032, 35.1918)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EA2 #41A22E
analogous
#552EA2 #8F2EA2 #A22E7B
triadic
#8F2EA2 #A28F2E #2EA28F
tetradic
#8F2EA2 #A2552E #41A22E #2E7BA2
square
#8F2EA2 #A2552E #41A22E #2E7BA2
split-complementary
#8F2EA2 #7BA22E #2EA255
monochromatic
#3B1343 #652072 #8F2EA2 #B443CA #C773D7

Accessibility & contrast

On white

6.82
#8F2EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8F2EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EA2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EA2#FFFFFF#000000##FFFFFF
##8F2EA21.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#3A5E9F
Tritanopia (blue-blind)
#904465
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2ea2;
/* rgb */ color: rgb(143, 46, 162);
/* oklch */ color: oklch(49.5% 0.190 320.6);
Tailwind
colors: {
  custom: {
    50: '#b370be',
    500: '#8f2ea2',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ea2;
$custom-light: #b370be;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ea2",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 290.172,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49495,
    "c": 0.19032,
    "h": 320.6
  },
  "luminance": 0.10402
}

Semantic roles & 50–950 ramp

primary
#8F2EA2
secondary
#7ABF6D
accent
#DF4961
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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