#8F2FB2#8F2FB2

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

Color values

HEX#8F2FB2
RGBrgb(143, 47, 178)
HSLhsl(284, 58%, 44%)
HSVhsv(284, 74%, 70%)
CMYKcmyk(19.7%, 73.6%, 0%, 30.2%)
CIE-LABlab(39.73, 59.05, -50.85)
CIE-LCHlch(39.73, 77.93, 319.27°)
OKLaboklab(50.66% 0.1445 -0.1433)
OKLCHoklch(50.66% 0.204 315.2)
XYZxyz(20.3788, 11.0878, 43.1775)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FB2 #52B22F
analogous
#4D2FB2 #8F2FB2 #B22F94
triadic
#8F2FB2 #B28F2F #2FB28F
tetradic
#8F2FB2 #B24D2F #52B22F #2F94B2
square
#8F2FB2 #B24D2F #52B22F #2F94B2
split-complementary
#8F2FB2 #94B22F #2FB24D
monochromatic
#411551 #682282 #8F2FB2 #AD4ED0 #C47EDD

Accessibility & contrast

On white

6.53
#8F2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8F2FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FB2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FB2#FFFFFF#000000##FFFFFF
##8F2FB21.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#2B60AF
Tritanopia (blue-blind)
#8C4B6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f2fb2;
/* rgb */ color: rgb(143, 47, 178);
/* oklch */ color: oklch(50.7% 0.204 315.2);
Tailwind
colors: {
  custom: {
    50: '#b471ca',
    500: '#8f2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fb2;
$custom-light: #b471ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fb2",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 283.969,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5066,
    "c": 0.20356,
    "h": 315.2
  },
  "luminance": 0.11087
}

Semantic roles & 50–950 ramp

primary
#8F2FB2
secondary
#8CC677
accent
#E14670
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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