#8D71E7#8D71E7

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

Color values

HEX#8D71E7
RGBrgb(141, 113, 231)
HSLhsl(254, 71%, 67%)
HSVhsv(254, 51%, 91%)
CMYKcmyk(39%, 51.1%, 0%, 9.4%)
CIE-LABlab(55.32, 37.90, -56.31)
CIE-LCHlch(55.32, 67.88, 303.94°)
OKLaboklab(63.04% 0.0633 -0.1596)
OKLCHoklch(63.04% 0.172 291.6)
XYZxyz(31.3096, 23.2417, 78.4223)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71E7 #CBE771
analogous
#7190E7 #8D71E7 #C871E7
triadic
#8D71E7 #E78D71 #71E78D
tetradic
#8D71E7 #E77190 #CBE771 #71E7C8
square
#8D71E7 #E77190 #CBE771 #71E7C8
split-complementary
#8D71E7 #E7C871 #90E771
monochromatic
#4520BE #633DDE #8D71E7 #B7A5F0 #E1DAF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D71E7#FFFFFF#000000##000000
##8D71E71.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)
#4086EB
Deuteranopia (green-blind)
#4482E4
Tritanopia (blue-blind)
#7589A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d71e7;
/* rgb */ color: rgb(141, 113, 231);
/* oklch */ color: oklch(63.0% 0.172 291.6);
Tailwind
colors: {
  custom: {
    50: '#b39aef',
    500: '#8d71e7',
    950: '#000000',
  },
}
SCSS
$custom: #8d71e7;
$custom-light: #b39aef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71e7",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 254.237,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63035,
    "c": 0.17169,
    "h": 291.6
  },
  "luminance": 0.23242
}

Semantic roles & 50–950 ramp

primary
#8D71E7
secondary
#E4ECC7
accent
#D312A5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8D71E7

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

Preview Lab → · Contrast checker → · Palette generator →

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