#8D71F9#8D71F9

#8D71F9 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.2% C 0.195 H 289.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8D71F9
RGBrgb(141, 113, 249)
HSLhsl(252, 92%, 71%)
HSVhsv(252, 55%, 98%)
CMYKcmyk(43.4%, 54.6%, 0%, 2.4%)
CIE-LABlab(56.40, 42.82, -64.60)
CIE-LCHlch(56.40, 77.50, 303.54°)
OKLaboklab(64.18% 0.0641 -0.1839)
OKLCHoklch(64.18% 0.195 289.2)
XYZxyz(33.9837, 24.3113, 92.5061)
Luminance0.2431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71F9 #DDF971
analogous
#7199F9 #8D71F9 #D171F9
triadic
#8D71F9 #F98D71 #71F98D
tetradic
#8D71F9 #F97199 #DDF971 #71F9D1
square
#8D71F9 #F97199 #DDF971 #71F9D1
split-complementary
#8D71F9 #F9D171 #99F971
monochromatic
#370AE6 #5E36F7 #8D71F9 #BCACFB #E7E2FE

Accessibility & contrast

On white

3.58
#8D71F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#8D71F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71F9
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71F9#FFFFFF#000000##000000
##8D71F91.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#278AFE
Deuteranopia (green-blind)
#2B84F6
Tritanopia (blue-blind)
#6D8FAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d71f9;
/* rgb */ color: rgb(141, 113, 249);
/* oklch */ color: oklch(64.2% 0.195 289.2);
Tailwind
colors: {
  custom: {
    50: '#b49afc',
    500: '#8d71f9',
    950: '#000000',
  },
}
SCSS
$custom: #8d71f9;
$custom-light: #b49afc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71f9",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 252.353,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64181,
    "c": 0.19479,
    "h": 289.2
  },
  "luminance": 0.24313
}

Semantic roles & 50–950 ramp

primary
#8D71F9
secondary
#EEF5D1
accent
#E600B6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8D71F9

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

Preview Lab → · Contrast checker → · Palette generator →

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