#8F2FB3#8F2FB3

#8F2FB3 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.204 H 314.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8F2FB3
RGBrgb(143, 47, 179)
HSLhsl(284, 58%, 44%)
HSVhsv(284, 74%, 70%)
CMYKcmyk(20.1%, 73.7%, 0%, 29.8%)
CIE-LABlab(39.80, 59.26, -51.34)
CIE-LCHlch(39.80, 78.40, 319.10°)
OKLaboklab(50.73% 0.1444 -0.1447)
OKLCHoklch(50.73% 0.204 314.9)
XYZxyz(20.4796, 11.1281, 43.7082)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FB3 #53B32F
analogous
#4D2FB3 #8F2FB3 #B32F95
triadic
#8F2FB3 #B38F2F #2FB38F
tetradic
#8F2FB3 #B34D2F #53B32F #2F95B3
square
#8F2FB3 #B34D2F #53B32F #2F95B3
split-complementary
#8F2FB3 #95B32F #2FB34D
monochromatic
#421652 #682283 #8F2FB3 #AD4FD1 #C47FDD

Accessibility & contrast

On white

6.51
#8F2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F2FB3
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FB3#FFFFFF#000000##FFFFFF
##8F2FB31.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#2960B0
Tritanopia (blue-blind)
#8C4C6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f2fb3;
/* rgb */ color: rgb(143, 47, 179);
/* oklch */ color: oklch(50.7% 0.204 314.9);
Tailwind
colors: {
  custom: {
    50: '#b471ca',
    500: '#8f2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fb3;
$custom-light: #b471ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fb3",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 283.636,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50729,
    "c": 0.20447,
    "h": 314.9
  },
  "luminance": 0.11127
}

Semantic roles & 50–950 ramp

primary
#8F2FB3
secondary
#8DC678
accent
#E24671
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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