#8F2FB5#8F2FB5

#8F2FB5 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.206 H 314.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8F2FB5
RGBrgb(143, 47, 181)
HSLhsl(283, 59%, 45%)
HSVhsv(283, 74%, 71%)
CMYKcmyk(21%, 74%, 0%, 29%)
CIE-LABlab(39.93, 59.66, -52.30)
CIE-LCHlch(39.93, 79.34, 318.76°)
OKLaboklab(50.87% 0.1442 -0.1476)
OKLCHoklch(50.87% 0.206 314.3)
XYZxyz(20.6833, 11.2096, 44.7812)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FB5 #55B52F
analogous
#4C2FB5 #8F2FB5 #B52F98
triadic
#8F2FB5 #B58F2F #2FB58F
tetradic
#8F2FB5 #B54C2F #55B52F #2F98B5
square
#8F2FB5 #B54C2F #55B52F #2F98B5
split-complementary
#8F2FB5 #98B52F #2FB54C
monochromatic
#421654 #692284 #8F2FB5 #AD50D1 #C480DE

Accessibility & contrast

On white

6.48
#8F2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8F2FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FB5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FB5#FFFFFF#000000##FFFFFF
##8F2FB51.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#2760B2
Tritanopia (blue-blind)
#8B4C70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f2fb5;
/* rgb */ color: rgb(143, 47, 181);
/* oklch */ color: oklch(50.9% 0.206 314.3);
Tailwind
colors: {
  custom: {
    50: '#b471cc',
    500: '#8f2fb5',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fb5;
$custom-light: #b471cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fb5",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 282.985,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50868,
    "c": 0.2063,
    "h": 314.3
  },
  "luminance": 0.11209
}

Semantic roles & 50–950 ramp

primary
#8F2FB5
secondary
#8FC779
accent
#E24672
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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