#8F1DB3#8F1DB3

#8F1DB3 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.3% C 0.221 H 315.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8F1DB3
RGBrgb(143, 29, 179)
HSLhsl(286, 72%, 41%)
HSVhsv(286, 84%, 70%)
CMYKcmyk(20.1%, 83.8%, 0%, 29.8%)
CIE-LABlab(37.80, 65.03, -54.57)
CIE-LCHlch(37.80, 84.89, 320.00°)
OKLaboklab(49.32% 0.159 -0.1541)
OKLCHoklch(49.32% 0.221 315.9)
XYZxyz(19.9024, 9.9739, 43.5159)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1DB3 #41B31D
analogous
#441DB3 #8F1DB3 #B31D8C
triadic
#8F1DB3 #B38F1D #1DB38F
tetradic
#8F1DB3 #B3441D #41B31D #1D8CB3
square
#8F1DB3 #B3441D #41B31D #1D8CB3
split-complementary
#8F1DB3 #8CB31D #1DB344
monochromatic
#3B0C4A #65147E #8F1DB3 #B430DD #C764E6

Accessibility & contrast

On white

7.01
#8F1DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8F1DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1DB3
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1DB3#FFFFFF#000000##FFFFFF
##8F1DB31.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#175CB0
Tritanopia (blue-blind)
#8C436B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f1db3;
/* rgb */ color: rgb(143, 29, 179);
/* oklch */ color: oklch(49.3% 0.221 315.9);
Tailwind
colors: {
  custom: {
    50: '#b56acb',
    500: '#8f1db3',
    950: '#000000',
  },
}
SCSS
$custom: #8f1db3;
$custom-light: #b56acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1db3",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 179
  },
  "hsl": {
    "h": 285.6,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49321,
    "c": 0.2214,
    "h": 315.9
  },
  "luminance": 0.09973
}

Semantic roles & 50–950 ramp

primary
#8F1DB3
secondary
#7ACB61
accent
#EF3965
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #8F1DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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