#8F2FB1#8F2FB1

#8F2FB1 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.203 H 315.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8F2FB1
RGBrgb(143, 47, 177)
HSLhsl(284, 58%, 44%)
HSVhsv(284, 73%, 69%)
CMYKcmyk(19.2%, 73.4%, 0%, 30.6%)
CIE-LABlab(39.66, 58.85, -50.37)
CIE-LCHlch(39.66, 77.46, 319.44°)
OKLaboklab(50.59% 0.1447 -0.1419)
OKLCHoklch(50.59% 0.203 315.5)
XYZxyz(20.2788, 11.0478, 42.6507)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FB1 #51B12F
analogous
#4E2FB1 #8F2FB1 #B12F92
triadic
#8F2FB1 #B18F2F #2FB18F
tetradic
#8F2FB1 #B14E2F #51B12F #2F92B1
square
#8F2FB1 #B14E2F #51B12F #2F92B1
split-complementary
#8F2FB1 #92B12F #2FB14E
monochromatic
#411550 #682281 #8F2FB1 #AE4DD0 #C47EDD

Accessibility & contrast

On white

6.54
#8F2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8F2FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FB1
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FB1#FFFFFF#000000##FFFFFF
##8F2FB11.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#2C60AE
Tritanopia (blue-blind)
#8C4B6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f2fb1;
/* rgb */ color: rgb(143, 47, 177);
/* oklch */ color: oklch(50.6% 0.203 315.5);
Tailwind
colors: {
  custom: {
    50: '#b471c9',
    500: '#8f2fb1',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fb1;
$custom-light: #b471c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fb1",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 284.308,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50591,
    "c": 0.20264,
    "h": 315.5
  },
  "luminance": 0.11047
}

Semantic roles & 50–950 ramp

primary
#8F2FB1
secondary
#8BC576
accent
#E1476F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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