#8D71E1#8D71E1

#8D71E1 is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.7% C 0.164 H 292.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8D71E1
RGBrgb(141, 113, 225)
HSLhsl(255, 65%, 66%)
HSVhsv(255, 50%, 88%)
CMYKcmyk(37.3%, 49.8%, 0%, 11.8%)
CIE-LABlab(54.98, 36.29, -53.49)
CIE-LCHlch(54.98, 64.64, 304.15°)
OKLaboklab(62.67% 0.0628 -0.1513)
OKLCHoklch(62.67% 0.164 292.5)
XYZxyz(30.4766, 22.9085, 74.0356)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71E1 #C5E171
analogous
#718DE1 #8D71E1 #C571E1
triadic
#8D71E1 #E18D71 #71E18D
tetradic
#8D71E1 #E1718D #C5E171 #71E1C5
square
#8D71E1 #E1718D #C5E171 #71E1C5
split-complementary
#8D71E1 #E1C571 #8DE171
monochromatic
#4926B2 #643ED6 #8D71E1 #B6A4EC #DED6F6

Accessibility & contrast

On white

3.76
#8D71E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#8D71E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71E1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71E1#FFFFFF#000000##000000
##8D71E11.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4585E5
Deuteranopia (green-blind)
#4A81DE
Tritanopia (blue-blind)
#78879E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d71e1;
/* rgb */ color: rgb(141, 113, 225);
/* oklch */ color: oklch(62.7% 0.164 292.5);
Tailwind
colors: {
  custom: {
    50: '#b29aeb',
    500: '#8d71e1',
    950: '#000000',
  },
}
SCSS
$custom: #8d71e1;
$custom-light: #b29aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71e1",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 225
  },
  "hsl": {
    "h": 255,
    "s": 65.116,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62669,
    "c": 0.16387,
    "h": 292.5
  },
  "luminance": 0.22909
}

Semantic roles & 50–950 ramp

primary
#8D71E1
secondary
#E0E9C5
accent
#CD19A0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8D71E1

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

Preview Lab → · Contrast checker → · Palette generator →

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