#8F2FB7#8F2FB7

#8F2FB7 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.208 H 313.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8F2FB7
RGBrgb(143, 47, 183)
HSLhsl(282, 59%, 45%)
HSVhsv(282, 74%, 72%)
CMYKcmyk(21.9%, 74.3%, 0%, 28.2%)
CIE-LABlab(40.07, 60.07, -53.26)
CIE-LCHlch(40.07, 80.28, 318.44°)
OKLaboklab(51.01% 0.1439 -0.1504)
OKLCHoklch(51.01% 0.208 313.7)
XYZxyz(20.8900, 11.2923, 45.8698)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FB7 #57B72F
analogous
#4B2FB7 #8F2FB7 #B72F9B
triadic
#8F2FB7 #B78F2F #2FB78F
tetradic
#8F2FB7 #B74B2F #57B72F #2F9BB7
square
#8F2FB7 #B74B2F #57B72F #2F9BB7
split-complementary
#8F2FB7 #9BB72F #2FB74B
monochromatic
#431656 #692286 #8F2FB7 #AC51D2 #C382DF

Accessibility & contrast

On white

6.44
#8F2FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8F2FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FB7
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FB7#FFFFFF#000000##FFFFFF
##8F2FB71.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#2461B4
Tritanopia (blue-blind)
#8B4D71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f2fb7;
/* rgb */ color: rgb(143, 47, 183);
/* oklch */ color: oklch(51.0% 0.208 313.7);
Tailwind
colors: {
  custom: {
    50: '#b471cd',
    500: '#8f2fb7',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fb7;
$custom-light: #b471cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fb7",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 282.353,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51009,
    "c": 0.20812,
    "h": 313.7
  },
  "luminance": 0.11292
}

Semantic roles & 50–950 ramp

primary
#8F2FB7
secondary
#91C87A
accent
#E24574
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F2FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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