#8B71EF#8B71EF

#8B71EF is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.4% C 0.182 H 289.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8B71EF
RGBrgb(139, 113, 239)
HSLhsl(252, 80%, 69%)
HSVhsv(252, 53%, 94%)
CMYKcmyk(41.8%, 52.7%, 0%, 6.3%)
CIE-LABlab(55.61, 39.62, -60.32)
CIE-LCHlch(55.61, 72.16, 303.30°)
OKLaboklab(63.36% 0.0613 -0.1714)
OKLCHoklch(63.36% 0.182 289.7)
XYZxyz(32.1282, 23.5302, 84.4936)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B71EF #D5EF71
analogous
#7196EF #8B71EF #CA71EF
triadic
#8B71EF #EF8B71 #71EF8B
tetradic
#8B71EF #EF7196 #D5EF71 #71EFCA
square
#8B71EF #EF7196 #D5EF71 #71EFCA
split-complementary
#8B71EF #EFCA71 #96EF71
monochromatic
#3D17CE #5E3AE9 #8B71EF #B8A8F5 #E5DFFB

Accessibility & contrast

On white

3.68
#8B71EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8B71EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B71EF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B71EF#FFFFFF#000000##000000
##8B71EF1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3688F3
Deuteranopia (green-blind)
#3882EC
Tritanopia (blue-blind)
#6E8CA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8b71ef;
/* rgb */ color: rgb(139, 113, 239);
/* oklch */ color: oklch(63.4% 0.182 289.7);
Tailwind
colors: {
  custom: {
    50: '#b29af5',
    500: '#8b71ef',
    950: '#000000',
  },
}
SCSS
$custom: #8b71ef;
$custom-light: #b29af5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b71ef",
  "rgb": {
    "r": 139,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 252.381,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63362,
    "c": 0.18205,
    "h": 289.7
  },
  "luminance": 0.23531
}

Semantic roles & 50–950 ramp

primary
#8B71EF
secondary
#E9F0CB
accent
#DC09B1
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8B71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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