#8F2FB8#8F2FB8

#8F2FB8 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.209 H 313.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8F2FB8
RGBrgb(143, 47, 184)
HSLhsl(282, 59%, 45%)
HSVhsv(282, 74%, 72%)
CMYKcmyk(22.3%, 74.5%, 0%, 27.8%)
CIE-LABlab(40.14, 60.27, -53.74)
CIE-LCHlch(40.14, 80.75, 318.28°)
OKLaboklab(51.08% 0.1437 -0.1518)
OKLCHoklch(51.08% 0.209 313.4)
XYZxyz(20.9944, 11.3340, 46.4199)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FB8 #58B82F
analogous
#4B2FB8 #8F2FB8 #B82F9C
triadic
#8F2FB8 #B88F2F #2FB88F
tetradic
#8F2FB8 #B84B2F #58B82F #2F9CB8
square
#8F2FB8 #B84B2F #58B82F #2F9CB8
split-complementary
#8F2FB8 #9CB82F #2FB84B
monochromatic
#431657 #692387 #8F2FB8 #AC52D3 #C382DF

Accessibility & contrast

On white

6.43
#8F2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8F2FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FB8
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FB8#FFFFFF#000000##FFFFFF
##8F2FB81.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#2261B5
Tritanopia (blue-blind)
#8B4E71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f2fb8;
/* rgb */ color: rgb(143, 47, 184);
/* oklch */ color: oklch(51.1% 0.209 313.4);
Tailwind
colors: {
  custom: {
    50: '#b471ce',
    500: '#8f2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fb8;
$custom-light: #b471ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fb8",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 282.044,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5108,
    "c": 0.20904,
    "h": 313.4
  },
  "luminance": 0.11333
}

Semantic roles & 50–950 ramp

primary
#8F2FB8
secondary
#92C87B
accent
#E24574
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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