#8F2EAB#8F2EAB

#8F2EAB is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.198 H 317.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8F2EAB
RGBrgb(143, 46, 171)
HSLhsl(287, 58%, 43%)
HSVhsv(287, 73%, 67%)
CMYKcmyk(16.4%, 73.1%, 0%, 32.9%)
CIE-LABlab(39.13, 58.04, -47.66)
CIE-LCHlch(39.13, 75.10, 320.61°)
OKLaboklab(50.09% 0.1463 -0.134)
OKLCHoklch(50.09% 0.198 317.5)
XYZxyz(19.6543, 10.7348, 39.5569)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EAB #4AAB2E
analogous
#502EAB #8F2EAB #AB2E89
triadic
#8F2EAB #AB8F2E #2EAB8F
tetradic
#8F2EAB #AB502E #4AAB2E #2E89AB
square
#8F2EAB #AB502E #4AAB2E #2E89AB
split-complementary
#8F2EAB #89AB2E #2EAB50
monochromatic
#3E144B #67217B #8F2EAB #B048CE #C579DB

Accessibility & contrast

On white

6.67
#8F2EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8F2EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EAB
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EAB#FFFFFF#000000##FFFFFF
##8F2EAB1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#325FA8
Tritanopia (blue-blind)
#8E486A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2eab;
/* rgb */ color: rgb(143, 46, 171);
/* oklch */ color: oklch(50.1% 0.198 317.5);
Tailwind
colors: {
  custom: {
    50: '#b470c5',
    500: '#8f2eab',
    950: '#000000',
  },
}
SCSS
$custom: #8f2eab;
$custom-light: #b470c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2eab",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 286.56,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50087,
    "c": 0.19836,
    "h": 317.5
  },
  "luminance": 0.10734
}

Semantic roles & 50–950 ramp

primary
#8F2EAB
secondary
#84C372
accent
#E14769
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8F2EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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