#8F2FBA#8F2FBA

#8F2FBA is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.211 H 312.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8F2FBA
RGBrgb(143, 47, 186)
HSLhsl(281, 60%, 46%)
HSVhsv(281, 75%, 73%)
CMYKcmyk(23.1%, 74.7%, 0%, 27.1%)
CIE-LABlab(40.28, 60.68, -54.69)
CIE-LCHlch(40.28, 81.69, 317.97°)
OKLaboklab(51.22% 0.1434 -0.1546)
OKLCHoklch(51.22% 0.211 312.9)
XYZxyz(21.2055, 11.4185, 47.5318)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FBA #5ABA2F
analogous
#492FBA #8F2FBA #BA2F9F
triadic
#8F2FBA #BA8F2F #2FBA8F
tetradic
#8F2FBA #BA492F #5ABA2F #2F9FBA
square
#8F2FBA #BA492F #5ABA2F #2F9FBA
split-complementary
#8F2FBA #9FBA2F #2FBA49
monochromatic
#441658 #692389 #8F2FBA #AC53D3 #C384E0

Accessibility & contrast

On white

6.40
#8F2FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8F2FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FBA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FBA#FFFFFF#000000##FFFFFF
##8F2FBA1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#1F61B7
Tritanopia (blue-blind)
#8A4F73
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f2fba;
/* rgb */ color: rgb(143, 47, 186);
/* oklch */ color: oklch(51.2% 0.211 312.9);
Tailwind
colors: {
  custom: {
    50: '#b471d0',
    500: '#8f2fba',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fba;
$custom-light: #b471d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fba",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 281.439,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51222,
    "c": 0.21087,
    "h": 312.9
  },
  "luminance": 0.11418
}

Semantic roles & 50–950 ramp

primary
#8F2FBA
secondary
#94C97C
accent
#E34576
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F2FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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