#8F2FB0#8F2FB0

#8F2FB0 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.5% C 0.202 H 315.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8F2FB0
RGBrgb(143, 47, 176)
HSLhsl(285, 58%, 44%)
HSVhsv(285, 73%, 69%)
CMYKcmyk(18.7%, 73.3%, 0%, 31%)
CIE-LABlab(39.59, 58.65, -49.88)
CIE-LCHlch(39.59, 77.00, 319.62°)
OKLaboklab(50.52% 0.1448 -0.1405)
OKLCHoklch(50.52% 0.202 315.9)
XYZxyz(20.1794, 11.0080, 42.1277)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FB0 #50B02F
analogous
#4E2FB0 #8F2FB0 #B02F90
triadic
#8F2FB0 #B08F2F #2FB08F
tetradic
#8F2FB0 #B04E2F #50B02F #2F90B0
square
#8F2FB0 #B04E2F #50B02F #2F90B0
split-complementary
#8F2FB0 #90B02F #2FB04E
monochromatic
#41154F #682280 #8F2FB0 #AE4DCF #C47DDC

Accessibility & contrast

On white

6.56
#8F2FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8F2FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FB0
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FB0#FFFFFF#000000##FFFFFF
##8F2FB01.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B4
Deuteranopia (green-blind)
#2D60AD
Tritanopia (blue-blind)
#8D4A6D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f2fb0;
/* rgb */ color: rgb(143, 47, 176);
/* oklch */ color: oklch(50.5% 0.202 315.9);
Tailwind
colors: {
  custom: {
    50: '#b471c8',
    500: '#8f2fb0',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fb0;
$custom-light: #b471c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fb0",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 284.651,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50522,
    "c": 0.20174,
    "h": 315.9
  },
  "luminance": 0.11007
}

Semantic roles & 50–950 ramp

primary
#8F2FB0
secondary
#8AC576
accent
#E1476E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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