#8D71C7#8D71C7

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

Color values

HEX#8D71C7
RGBrgb(141, 113, 199)
HSLhsl(260, 43%, 61%)
HSVhsv(260, 43%, 78%)
CMYKcmyk(29.1%, 43.2%, 0%, 22%)
CIE-LABlab(53.60, 29.49, -40.97)
CIE-LCHlch(53.60, 50.48, 305.75°)
OKLaboklab(61.18% 0.0596 -0.1147)
OKLCHoklch(61.18% 0.129 297.5)
XYZxyz(27.1960, 21.5962, 56.7574)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71C7 #ABC771
analogous
#7180C7 #8D71C7 #B871C7
triadic
#8D71C7 #C78D71 #71C78D
tetradic
#8D71C7 #C77180 #ABC771 #71C7B8
square
#8D71C7 #C77180 #ABC771 #71C7B8
split-complementary
#8D71C7 #C7B871 #80C771
monochromatic
#503688 #6A47B4 #8D71C7 #B09DD8 #D3C9EA

Accessibility & contrast

On white

3.95
#8D71C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8D71C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71C7
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71C7#FFFFFF#000000##000000
##8D71C71.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5880CA
Deuteranopia (green-blind)
#5D7FC5
Tritanopia (blue-blind)
#818092
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d71c7;
/* rgb */ color: rgb(141, 113, 199);
/* oklch */ color: oklch(61.2% 0.129 297.5);
Tailwind
colors: {
  custom: {
    50: '#b09ad8',
    500: '#8d71c7',
    950: '#000000',
  },
}
SCSS
$custom: #8d71c7;
$custom-light: #b09ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71c7",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 199
  },
  "hsl": {
    "h": 259.535,
    "s": 43.434,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61182,
    "c": 0.12931,
    "h": 297.5
  },
  "luminance": 0.21596
}

Semantic roles & 50–950 ramp

primary
#8D71C7
secondary
#D0DABA
accent
#B72F8A
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #8D71C7

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

Preview Lab → · Contrast checker → · Palette generator →

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