#8B71CD#8B71CD

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

Color values

HEX#8B71CD
RGBrgb(139, 113, 205)
HSLhsl(257, 48%, 62%)
HSVhsv(257, 45%, 80%)
CMYKcmyk(32.2%, 44.9%, 0%, 19.6%)
CIE-LABlab(53.71, 30.49, -44.21)
CIE-LCHlch(53.71, 53.70, 304.59°)
OKLaboklab(61.33% 0.0581 -0.1242)
OKLCHoklch(61.33% 0.137 295.1)
XYZxyz(27.5693, 21.7066, 60.4831)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B71CD #B3CD71
analogous
#7185CD #8B71CD #B971CD
triadic
#8B71CD #CD8B71 #71CD8B
tetradic
#8B71CD #CD7185 #B3CD71 #71CDB9
square
#8B71CD #CD7185 #B3CD71 #71CDB9
split-complementary
#8B71CD #CDB971 #85CD71
monochromatic
#4D3391 #6644BD #8B71CD #B09EDD #D5CCED

Accessibility & contrast

On white

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

On black

5.34
#8B71CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B71CD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B71CD#FFFFFF#000000##000000
##8B71CD1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481D0
Deuteranopia (green-blind)
#587FCB
Tritanopia (blue-blind)
#7C8295
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8b71cd;
/* rgb */ color: rgb(139, 113, 205);
/* oklch */ color: oklch(61.3% 0.137 295.1);
Tailwind
colors: {
  custom: {
    50: '#af9add',
    500: '#8b71cd',
    950: '#000000',
  },
}
SCSS
$custom: #8b71cd;
$custom-light: #af9add;
$custom-dark: #000000;
JSON
{
  "hex": "#8b71cd",
  "rgb": {
    "r": 139,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 256.957,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61326,
    "c": 0.13717,
    "h": 295.1
  },
  "luminance": 0.21707
}

Semantic roles & 50–950 ramp

primary
#8B71CD
secondary
#D4DEBC
accent
#BB2A92
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8B71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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