#8718A1#8718A1

#8718A1 is a mid, highly saturated purple. Relative luminance 0.084; OKLCH L 46.5% C 0.208 H 318.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8718A1
RGBrgb(135, 24, 161)
HSLhsl(289, 74%, 36%)
HSVhsv(289, 85%, 63%)
CMYKcmyk(16.1%, 85.1%, 0%, 36.9%)
CIE-LABlab(34.76, 61.54, -48.76)
CIE-LCHlch(34.76, 78.52, 321.61°)
OKLaboklab(46.53% 0.1559 -0.1373)
OKLCHoklch(46.53% 0.208 318.6)
XYZxyz(16.7504, 8.3782, 34.4461)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8718A1 #32A118
analogous
#4318A1 #8718A1 #A11877
triadic
#8718A1 #A18718 #18A187
tetradic
#8718A1 #A14318 #32A118 #1877A1
square
#8718A1 #A14318 #32A118 #1877A1
split-complementary
#8718A1 #77A118 #18A143
monochromatic
#2E0836 #5A106C #8718A1 #B420D6 #C84FE5

Accessibility & contrast

On white

7.85
#8718A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8718A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8718A1
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8718A1#FFFFFF#000000##FFFFFF
##8718A11.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#22559E
Tritanopia (blue-blind)
#863A60
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8718a1;
/* rgb */ color: rgb(135, 24, 161);
/* oklch */ color: oklch(46.5% 0.208 318.6);
Tailwind
colors: {
  custom: {
    50: '#ae66be',
    500: '#8718a1',
    950: '#000000',
  },
}
SCSS
$custom: #8718a1;
$custom-light: #ae66be;
$custom-dark: #000000;
JSON
{
  "hex": "#8718a1",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 288.613,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46531,
    "c": 0.20774,
    "h": 318.6
  },
  "luminance": 0.08377
}

Semantic roles & 50–950 ramp

primary
#8718A1
secondary
#65C74E
accent
#F1375A
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8718A1

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

Preview Lab → · Contrast checker → · Palette generator →

#8718A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva