#8B71CA#8B71CA

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

Color values

HEX#8B71CA
RGBrgb(139, 113, 202)
HSLhsl(258, 46%, 62%)
HSVhsv(258, 44%, 79%)
CMYKcmyk(31.2%, 44.1%, 0%, 20.8%)
CIE-LABlab(53.56, 29.71, -42.75)
CIE-LCHlch(53.56, 52.06, 304.80°)
OKLaboklab(61.16% 0.0577 -0.12)
OKLCHoklch(61.16% 0.133 295.7)
XYZxyz(27.2106, 21.5631, 58.5942)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B71CA #B0CA71
analogous
#7184CA #8B71CA #B871CA
triadic
#8B71CA #CA8B71 #71CA8B
tetradic
#8B71CA #CA7184 #B0CA71 #71CAB8
square
#8B71CA #CA7184 #B0CA71 #71CAB8
split-complementary
#8B71CA #CAB871 #84CA71
monochromatic
#4E348C #6745B9 #8B71CA #AF9EDB #D4CAEB

Accessibility & contrast

On white

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

On black

5.31
#8B71CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B71CA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B71CA#FFFFFF#000000##000000
##8B71CA1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CD
Deuteranopia (green-blind)
#5A7FC8
Tritanopia (blue-blind)
#7D8194
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8b71ca;
/* rgb */ color: rgb(139, 113, 202);
/* oklch */ color: oklch(61.2% 0.133 295.7);
Tailwind
colors: {
  custom: {
    50: '#af9ada',
    500: '#8b71ca',
    950: '#000000',
  },
}
SCSS
$custom: #8b71ca;
$custom-light: #af9ada;
$custom-dark: #000000;
JSON
{
  "hex": "#8b71ca",
  "rgb": {
    "r": 139,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 257.528,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6116,
    "c": 0.13312,
    "h": 295.7
  },
  "luminance": 0.21563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B71CA

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

Preview Lab → · Contrast checker → · Palette generator →

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