#8F18A1#8F18A1

#8F18A1 is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.7% C 0.211 H 321.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8F18A1
RGBrgb(143, 24, 161)
HSLhsl(292, 74%, 36%)
HSVhsv(292, 85%, 63%)
CMYKcmyk(11.2%, 85.1%, 0%, 36.9%)
CIE-LABlab(36.11, 62.97, -46.51)
CIE-LCHlch(36.11, 78.28, 323.55°)
OKLaboklab(47.74% 0.1654 -0.1304)
OKLCHoklch(47.74% 0.211 321.7)
XYZxyz(18.0866, 9.0672, 34.5088)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F18A1 #2AA118
analogous
#4B18A1 #8F18A1 #A1186F
triadic
#8F18A1 #A18F18 #18A18F
tetradic
#8F18A1 #A14B18 #2AA118 #186FA1
square
#8F18A1 #A14B18 #2AA118 #186FA1
split-complementary
#8F18A1 #6FA118 #18A14B
monochromatic
#300836 #60106C #8F18A1 #BE20D6 #D14FE5

Accessibility & contrast

On white

7.46
#8F18A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8F18A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F18A1
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F18A1#FFFFFF#000000##FFFFFF
##8F18A11.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#2E599E
Tritanopia (blue-blind)
#903860
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f18a1;
/* rgb */ color: rgb(143, 24, 161);
/* oklch */ color: oklch(47.7% 0.211 321.7);
Tailwind
colors: {
  custom: {
    50: '#b467bd',
    500: '#8f18a1',
    950: '#000000',
  },
}
SCSS
$custom: #8f18a1;
$custom-light: #b467bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f18a1",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 292.117,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47743,
    "c": 0.21065,
    "h": 321.7
  },
  "luminance": 0.09066
}

Semantic roles & 50–950 ramp

primary
#8F18A1
secondary
#5EC74E
accent
#F1374F
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F18A1

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

Preview Lab → · Contrast checker → · Palette generator →

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