#8D71CD#8D71CD

#8D71CD is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.5% C 0.137 H 296.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8D71CD
RGBrgb(141, 113, 205)
HSLhsl(258, 48%, 62%)
HSVhsv(258, 45%, 80%)
CMYKcmyk(31.2%, 44.9%, 0%, 19.6%)
CIE-LABlab(53.90, 31.03, -43.90)
CIE-LCHlch(53.90, 53.76, 305.25°)
OKLaboklab(61.51% 0.0605 -0.1233)
OKLCHoklch(61.51% 0.137 296.1)
XYZxyz(27.9064, 21.8804, 60.4989)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71CD #B1CD71
analogous
#7183CD #8D71CD #BB71CD
triadic
#8D71CD #CD8D71 #71CD8D
tetradic
#8D71CD #CD7183 #B1CD71 #71CDBB
square
#8D71CD #CD7183 #B1CD71 #71CDBB
split-complementary
#8D71CD #CDBB71 #83CD71
monochromatic
#4F3391 #6944BD #8D71CD #B19EDD #D6CCED

Accessibility & contrast

On white

3.91
#8D71CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#8D71CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71CD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71CD#FFFFFF#000000##000000
##8D71CD1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481D0
Deuteranopia (green-blind)
#5980CB
Tritanopia (blue-blind)
#7F8295
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d71cd;
/* rgb */ color: rgb(141, 113, 205);
/* oklch */ color: oklch(61.5% 0.137 296.1);
Tailwind
colors: {
  custom: {
    50: '#b19add',
    500: '#8d71cd',
    950: '#000000',
  },
}
SCSS
$custom: #8d71cd;
$custom-light: #b19add;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71cd",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 258.261,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6151,
    "c": 0.13737,
    "h": 296.1
  },
  "luminance": 0.21881
}

Semantic roles & 50–950 ramp

primary
#8D71CD
secondary
#D3DEBC
accent
#BB2A8F
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8D71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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