#8D71E2#8D71E2

#8D71E2 is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.7% C 0.165 H 292.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8D71E2
RGBrgb(141, 113, 226)
HSLhsl(255, 66%, 66%)
HSVhsv(255, 50%, 89%)
CMYKcmyk(37.6%, 50%, 0%, 11.4%)
CIE-LABlab(55.03, 36.55, -53.97)
CIE-LCHlch(55.03, 65.18, 304.11°)
OKLaboklab(62.73% 0.0629 -0.1527)
OKLCHoklch(62.73% 0.165 292.4)
XYZxyz(30.6135, 22.9632, 74.7562)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71E2 #C6E271
analogous
#718EE2 #8D71E2 #C671E2
triadic
#8D71E2 #E28D71 #71E28D
tetradic
#8D71E2 #E2718E #C6E271 #71E2C6
square
#8D71E2 #E2718E #C6E271 #71E2C6
split-complementary
#8D71E2 #E2C671 #8EE271
monochromatic
#4825B4 #643ED8 #8D71E2 #B6A4EC #DFD7F7

Accessibility & contrast

On white

3.75
#8D71E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8D71E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71E2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71E2#FFFFFF#000000##000000
##8D71E21.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4485E6
Deuteranopia (green-blind)
#4982DF
Tritanopia (blue-blind)
#77889F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d71e2;
/* rgb */ color: rgb(141, 113, 226);
/* oklch */ color: oklch(62.7% 0.165 292.4);
Tailwind
colors: {
  custom: {
    50: '#b29aec',
    500: '#8d71e2',
    950: '#000000',
  },
}
SCSS
$custom: #8d71e2;
$custom-light: #b29aec;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71e2",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 254.867,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62729,
    "c": 0.16517,
    "h": 292.4
  },
  "luminance": 0.22964
}

Semantic roles & 50–950 ramp

primary
#8D71E2
secondary
#E1EAC5
accent
#CE18A1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8D71E2

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

Preview Lab → · Contrast checker → · Palette generator →

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