#8D71C8#8D71C8

#8D71C8 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.2% C 0.131 H 297.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8D71C8
RGBrgb(141, 113, 200)
HSLhsl(259, 44%, 61%)
HSVhsv(259, 44%, 78%)
CMYKcmyk(29.5%, 43.5%, 0%, 21.6%)
CIE-LABlab(53.65, 29.75, -41.46)
CIE-LCHlch(53.65, 51.03, 305.66°)
OKLaboklab(61.24% 0.0598 -0.1162)
OKLCHoklch(61.24% 0.131 297.2)
XYZxyz(27.3125, 21.6428, 57.3709)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71C8 #ACC871
analogous
#7181C8 #8D71C8 #B971C8
triadic
#8D71C8 #C88D71 #71C88D
tetradic
#8D71C8 #C87181 #ACC871 #71C8B9
square
#8D71C8 #C87181 #ACC871 #71C8B9
split-complementary
#8D71C8 #C8B971 #81C871
monochromatic
#503589 #6A46B6 #8D71C8 #B09DD9 #D4C9EA

Accessibility & contrast

On white

3.94
#8D71C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8D71C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71C8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71C8#FFFFFF#000000##000000
##8D71C81.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CB
Deuteranopia (green-blind)
#5D7FC6
Tritanopia (blue-blind)
#818193
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d71c8;
/* rgb */ color: rgb(141, 113, 200);
/* oklch */ color: oklch(61.2% 0.131 297.2);
Tailwind
colors: {
  custom: {
    50: '#b09ad9',
    500: '#8d71c8',
    950: '#000000',
  },
}
SCSS
$custom: #8d71c8;
$custom-light: #b09ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71c8",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 259.31,
    "s": 44.162,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61236,
    "c": 0.13066,
    "h": 297.2
  },
  "luminance": 0.21643
}

Semantic roles & 50–950 ramp

primary
#8D71C8
secondary
#D0DBBA
accent
#B72E8B
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #8D71C8

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

Preview Lab → · Contrast checker → · Palette generator →

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