#8D71CA#8D71CA

#8D71CA is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.3% C 0.133 H 296.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8D71CA
RGBrgb(141, 113, 202)
HSLhsl(259, 46%, 62%)
HSVhsv(259, 44%, 79%)
CMYKcmyk(30.2%, 44.1%, 0%, 20.8%)
CIE-LABlab(53.75, 30.26, -42.44)
CIE-LCHlch(53.75, 52.12, 305.49°)
OKLaboklab(61.35% 0.0601 -0.119)
OKLCHoklch(61.35% 0.133 296.8)
XYZxyz(27.5477, 21.7369, 58.6100)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71CA #AECA71
analogous
#7182CA #8D71CA #B971CA
triadic
#8D71CA #CA8D71 #71CA8D
tetradic
#8D71CA #CA7182 #AECA71 #71CAB9
square
#8D71CA #CA7182 #AECA71 #71CAB9
split-complementary
#8D71CA #CAB971 #82CA71
monochromatic
#50348C #6945B9 #8D71CA #B19EDB #D5CAEB

Accessibility & contrast

On white

3.93
#8D71CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8D71CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71CA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71CA#FFFFFF#000000##000000
##8D71CA1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CD
Deuteranopia (green-blind)
#5B7FC8
Tritanopia (blue-blind)
#808194
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d71ca;
/* rgb */ color: rgb(141, 113, 202);
/* oklch */ color: oklch(61.3% 0.133 296.8);
Tailwind
colors: {
  custom: {
    50: '#b09ada',
    500: '#8d71ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d71ca;
$custom-light: #b09ada;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71ca",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 258.876,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61345,
    "c": 0.13335,
    "h": 296.8
  },
  "luminance": 0.21737
}

Semantic roles & 50–950 ramp

primary
#8D71CA
secondary
#D2DCBB
accent
#B92D8D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8D71CA

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

Preview Lab → · Contrast checker → · Palette generator →

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