#8B71EA#8B71EA

#8B71EA is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.0% C 0.176 H 290.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8B71EA
RGBrgb(139, 113, 234)
HSLhsl(253, 74%, 68%)
HSVhsv(253, 52%, 92%)
CMYKcmyk(40.6%, 51.7%, 0%, 8.2%)
CIE-LABlab(55.32, 38.24, -58.00)
CIE-LCHlch(55.32, 69.48, 303.40°)
OKLaboklab(63.05% 0.061 -0.1646)
OKLCHoklch(63.05% 0.176 290.3)
XYZxyz(31.3998, 23.2388, 80.6571)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B71EA #D0EA71
analogous
#7193EA #8B71EA #C871EA
triadic
#8B71EA #EA8B71 #71EA8B
tetradic
#8B71EA #EA7193 #D0EA71 #71EAC8
square
#8B71EA #EA7193 #D0EA71 #71EAC8
split-complementary
#8B71EA #EAC871 #93EA71
monochromatic
#411DC4 #5F3CE2 #8B71EA #B7A6F2 #E2DCFA

Accessibility & contrast

On white

3.72
#8B71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8B71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B71EA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B71EA#FFFFFF#000000##000000
##8B71EA1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EE
Deuteranopia (green-blind)
#3F82E7
Tritanopia (blue-blind)
#718AA3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8b71ea;
/* rgb */ color: rgb(139, 113, 234);
/* oklch */ color: oklch(63.0% 0.176 290.3);
Tailwind
colors: {
  custom: {
    50: '#b29af1',
    500: '#8b71ea',
    950: '#000000',
  },
}
SCSS
$custom: #8b71ea;
$custom-light: #b29af1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b71ea",
  "rgb": {
    "r": 139,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 252.893,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63046,
    "c": 0.17557,
    "h": 290.3
  },
  "luminance": 0.2324
}

Semantic roles & 50–950 ramp

primary
#8B71EA
secondary
#E6EEC9
accent
#D60FAC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8B71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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