#8F2FB4#8F2FB4

#8F2FB4 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.205 H 314.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8F2FB4
RGBrgb(143, 47, 180)
HSLhsl(283, 59%, 45%)
HSVhsv(283, 74%, 71%)
CMYKcmyk(20.6%, 73.9%, 0%, 29.4%)
CIE-LABlab(39.86, 59.46, -51.82)
CIE-LCHlch(39.86, 78.87, 318.93°)
OKLaboklab(50.8% 0.1443 -0.1462)
OKLCHoklch(50.8% 0.205 314.6)
XYZxyz(20.5811, 11.1687, 44.2428)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FB4 #54B42F
analogous
#4C2FB4 #8F2FB4 #B42F97
triadic
#8F2FB4 #B48F2F #2FB48F
tetradic
#8F2FB4 #B44C2F #54B42F #2F97B4
square
#8F2FB4 #B44C2F #54B42F #2F97B4
split-complementary
#8F2FB4 #97B42F #2FB44C
monochromatic
#421653 #682283 #8F2FB4 #AD4FD1 #C480DE

Accessibility & contrast

On white

6.49
#8F2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8F2FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FB4
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FB4#FFFFFF#000000##FFFFFF
##8F2FB41.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#2860B1
Tritanopia (blue-blind)
#8C4C6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f2fb4;
/* rgb */ color: rgb(143, 47, 180);
/* oklch */ color: oklch(50.8% 0.205 314.6);
Tailwind
colors: {
  custom: {
    50: '#b471cb',
    500: '#8f2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fb4;
$custom-light: #b471cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fb4",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 283.308,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50798,
    "c": 0.20538,
    "h": 314.6
  },
  "luminance": 0.11168
}

Semantic roles & 50–950 ramp

primary
#8F2FB4
secondary
#8EC778
accent
#E24671
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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