#8F2AB3#8F2AB3

#8F2AB3 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.210 H 315.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8F2AB3
RGBrgb(143, 42, 179)
HSLhsl(284, 62%, 43%)
HSVhsv(284, 77%, 70%)
CMYKcmyk(20.1%, 76.5%, 0%, 29.8%)
CIE-LABlab(39.16, 61.08, -52.37)
CIE-LCHlch(39.16, 80.46, 319.39°)
OKLaboklab(50.28% 0.149 -0.1477)
OKLCHoklch(50.28% 0.21 315.2)
XYZxyz(20.2910, 10.7510, 43.6454)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2AB3 #4EB32A
analogous
#4B2AB3 #8F2AB3 #B32A92
triadic
#8F2AB3 #B38F2A #2AB38F
tetradic
#8F2AB3 #B34B2A #4EB32A #2A92B3
square
#8F2AB3 #B34B2A #4EB32A #2A92B3
split-complementary
#8F2AB3 #92B32A #2AB34B
monochromatic
#401350 #671E81 #8F2AB3 #AF46D4 #C478DF

Accessibility & contrast

On white

6.67
#8F2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8F2AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2AB3
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2AB3#FFFFFF#000000##FFFFFF
##8F2AB31.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#245FB0
Tritanopia (blue-blind)
#8C496D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2ab3;
/* rgb */ color: rgb(143, 42, 179);
/* oklch */ color: oklch(50.3% 0.210 315.2);
Tailwind
colors: {
  custom: {
    50: '#b46fca',
    500: '#8f2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ab3;
$custom-light: #b46fca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ab3",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 284.234,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50278,
    "c": 0.20983,
    "h": 315.2
  },
  "luminance": 0.1075
}

Semantic roles & 50–950 ramp

primary
#8F2AB3
secondary
#88C772
accent
#E5436D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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