#8F2CA6#8F2CA6

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

Color values

HEX#8F2CA6
RGBrgb(143, 44, 166)
HSLhsl(289, 58%, 41%)
HSVhsv(289, 73%, 65%)
CMYKcmyk(13.9%, 73.5%, 0%, 34.9%)
CIE-LABlab(38.54, 57.82, -45.61)
CIE-LCHlch(38.54, 73.65, 321.73°)
OKLaboklab(49.57% 0.1487 -0.1279)
OKLCHoklch(49.57% 0.196 319.3)
XYZxyz(19.1104, 10.3951, 37.0688)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2CA6 #43A62C
analogous
#522CA6 #8F2CA6 #A62C80
triadic
#8F2CA6 #A68F2C #2CA68F
tetradic
#8F2CA6 #A6522C #43A62C #2C80A6
square
#8F2CA6 #A6522C #43A62C #2C80A6
split-complementary
#8F2CA6 #80A62C #2CA652
monochromatic
#3C1245 #651F76 #8F2CA6 #B342CD #C673DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F2CA6#FFFFFF#000000##FFFFFF
##8F2CA61.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)
#0054A9
Deuteranopia (green-blind)
#355EA3
Tritanopia (blue-blind)
#8F4467
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2ca6;
/* rgb */ color: rgb(143, 44, 166);
/* oklch */ color: oklch(49.6% 0.196 319.3);
Tailwind
colors: {
  custom: {
    50: '#b36fc1',
    500: '#8f2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ca6;
$custom-light: #b36fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ca6",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 288.689,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49565,
    "c": 0.19619,
    "h": 319.3
  },
  "luminance": 0.10394
}

Semantic roles & 50–950 ramp

primary
#8F2CA6
secondary
#7DC16D
accent
#E14664
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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