#8F2FBE#8F2FBE

#8F2FBE is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.215 H 311.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8F2FBE
RGBrgb(143, 47, 190)
HSLhsl(280, 60%, 46%)
HSVhsv(280, 75%, 75%)
CMYKcmyk(24.7%, 75.3%, 0%, 25.5%)
CIE-LABlab(40.56, 61.51, -56.58)
CIE-LCHlch(40.56, 83.58, 317.39°)
OKLaboklab(51.51% 0.1428 -0.1601)
OKLCHoklch(51.51% 0.215 311.7)
XYZxyz(21.6367, 11.5910, 49.8027)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FBE #5EBE2F
analogous
#482FBE #8F2FBE #BE2FA6
triadic
#8F2FBE #BE8F2F #2FBE8F
tetradic
#8F2FBE #BE482F #5EBE2F #2FA6BE
square
#8F2FBE #BE482F #5EBE2F #2FA6BE
split-complementary
#8F2FBE #A6BE2F #2FBE48
monochromatic
#45175C #6A238D #8F2FBE #AB55D5 #C386E1

Accessibility & contrast

On white

6.33
#8F2FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8F2FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FBE
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FBE#FFFFFF#000000##FFFFFF
##8F2FBE1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#1661BB
Tritanopia (blue-blind)
#895075
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f2fbe;
/* rgb */ color: rgb(143, 47, 190);
/* oklch */ color: oklch(51.5% 0.215 311.7);
Tailwind
colors: {
  custom: {
    50: '#b472d2',
    500: '#8f2fbe',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fbe;
$custom-light: #b472d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fbe",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 280.28,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51511,
    "c": 0.21454,
    "h": 311.7
  },
  "luminance": 0.1159
}

Semantic roles & 50–950 ramp

primary
#8F2FBE
secondary
#97CB7E
accent
#E34479
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F2FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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