#8D71F7#8D71F7

#8D71F7 is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.1% C 0.192 H 289.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8D71F7
RGBrgb(141, 113, 247)
HSLhsl(253, 89%, 71%)
HSVhsv(253, 54%, 97%)
CMYKcmyk(42.9%, 54.3%, 0%, 3.1%)
CIE-LABlab(56.27, 42.27, -63.69)
CIE-LCHlch(56.27, 76.44, 303.57°)
OKLaboklab(64.05% 0.064 -0.1813)
OKLCHoklch(64.05% 0.192 289.5)
XYZxyz(33.6734, 24.1872, 90.8720)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71F7 #DBF771
analogous
#7198F7 #8D71F7 #D071F7
triadic
#8D71F7 #F78D71 #71F78D
tetradic
#8D71F7 #F77198 #DBF771 #71F7D0
square
#8D71F7 #F77198 #DBF771 #71F7D0
split-complementary
#8D71F7 #F7D071 #98F771
monochromatic
#390DE1 #5E37F4 #8D71F7 #BCABFA #E8E2FD

Accessibility & contrast

On white

3.60
#8D71F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8D71F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71F7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71F7#FFFFFF#000000##000000
##8D71F71.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8AFC
Deuteranopia (green-blind)
#2F84F4
Tritanopia (blue-blind)
#6E8EA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d71f7;
/* rgb */ color: rgb(141, 113, 247);
/* oklch */ color: oklch(64.1% 0.192 289.5);
Tailwind
colors: {
  custom: {
    50: '#b49afb',
    500: '#8d71f7',
    950: '#000000',
  },
}
SCSS
$custom: #8d71f7;
$custom-light: #b49afb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71f7",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 252.537,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64051,
    "c": 0.19226,
    "h": 289.5
  },
  "luminance": 0.24188
}

Semantic roles & 50–950 ramp

primary
#8D71F7
secondary
#ECF4D0
accent
#E600B6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #8D71F7

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

Preview Lab → · Contrast checker → · Palette generator →

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