#8F2FAF#8F2FAF

#8F2FAF is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.5% C 0.201 H 316.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8F2FAF
RGBrgb(143, 47, 175)
HSLhsl(285, 58%, 44%)
HSVhsv(285, 73%, 69%)
CMYKcmyk(18.3%, 73.1%, 0%, 31.4%)
CIE-LABlab(39.53, 58.45, -49.40)
CIE-LCHlch(39.53, 76.53, 319.80°)
OKLaboklab(50.45% 0.1449 -0.1391)
OKLCHoklch(50.45% 0.201 316.2)
XYZxyz(20.0809, 10.9686, 41.6085)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FAF #4FAF2F
analogous
#4F2FAF #8F2FAF #AF2F8F
triadic
#8F2FAF #AF8F2F #2FAF8F
tetradic
#8F2FAF #AF4F2F #4FAF2F #2F8FAF
square
#8F2FAF #AF4F2F #4FAF2F #2F8FAF
split-complementary
#8F2FAF #8FAF2F #2FAF4F
monochromatic
#40154F #68227F #8F2FAF #AE4CCF #C47CDC

Accessibility & contrast

On white

6.58
#8F2FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8F2FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FAF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FAF#FFFFFF#000000##FFFFFF
##8F2FAF1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#2E60AC
Tritanopia (blue-blind)
#8D4A6C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f2faf;
/* rgb */ color: rgb(143, 47, 175);
/* oklch */ color: oklch(50.5% 0.201 316.2);
Tailwind
colors: {
  custom: {
    50: '#b471c8',
    500: '#8f2faf',
    950: '#000000',
  },
}
SCSS
$custom: #8f2faf;
$custom-light: #b471c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2faf",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 285,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50453,
    "c": 0.20083,
    "h": 316.2
  },
  "luminance": 0.10968
}

Semantic roles & 50–950 ramp

primary
#8F2FAF
secondary
#89C475
accent
#E1476D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8F2FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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