#8F1CB4#8F1CB4

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

Color values

HEX#8F1CB4
RGBrgb(143, 28, 180)
HSLhsl(285, 73%, 41%)
HSVhsv(285, 84%, 71%)
CMYKcmyk(20.6%, 84.4%, 0%, 29.4%)
CIE-LABlab(37.78, 65.48, -55.18)
CIE-LCHlch(37.78, 85.63, 319.88°)
OKLaboklab(49.33% 0.1594 -0.1559)
OKLCHoklch(49.33% 0.223 315.6)
XYZxyz(19.9798, 9.9662, 44.0424)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1CB4 #41B41C
analogous
#431CB4 #8F1CB4 #B41C8D
triadic
#8F1CB4 #B48F1C #1CB48F
tetradic
#8F1CB4 #B4431C #41B41C #1C8DB4
square
#8F1CB4 #B4431C #41B41C #1C8DB4
split-complementary
#8F1CB4 #8DB41C #1CB443
monochromatic
#3B0C4A #65147F #8F1CB4 #B42FDF #C764E7

Accessibility & contrast

On white

7.02
#8F1CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1CB4
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1CB4#FFFFFF#000000##FFFFFF
##8F1CB41.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#145CB1
Tritanopia (blue-blind)
#8C436B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f1cb4;
/* rgb */ color: rgb(143, 28, 180);
/* oklch */ color: oklch(49.3% 0.223 315.6);
Tailwind
colors: {
  custom: {
    50: '#b56acb',
    500: '#8f1cb4',
    950: '#000000',
  },
}
SCSS
$custom: #8f1cb4;
$custom-light: #b56acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1cb4",
  "rgb": {
    "r": 143,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 285.395,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49334,
    "c": 0.22296,
    "h": 315.6
  },
  "luminance": 0.09965
}

Semantic roles & 50–950 ramp

primary
#8F1CB4
secondary
#7ACC60
accent
#F03865
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #8F1CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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