#8D71F2#8D71F2

#8D71F2 is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.7% C 0.186 H 290.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8D71F2
RGBrgb(141, 113, 242)
HSLhsl(253, 83%, 70%)
HSVhsv(253, 53%, 95%)
CMYKcmyk(41.7%, 53.3%, 0%, 5.1%)
CIE-LABlab(55.97, 40.89, -61.40)
CIE-LCHlch(55.97, 73.77, 303.66°)
OKLaboklab(63.73% 0.0639 -0.1746)
OKLCHoklch(63.73% 0.186 290.1)
XYZxyz(32.9122, 23.8827, 86.8629)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71F2 #D6F271
analogous
#7196F2 #8D71F2 #CD71F2
triadic
#8D71F2 #F28D71 #71F28D
tetradic
#8D71F2 #F27196 #D6F271 #71F2CD
square
#8D71F2 #F27196 #D6F271 #71F2CD
split-complementary
#8D71F2 #F2CD71 #96F271
monochromatic
#3E14D5 #6039ED #8D71F2 #BAA9F7 #E7E1FC

Accessibility & contrast

On white

3.64
#8D71F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#8D71F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71F2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71F2#FFFFFF#000000##000000
##8D71F21.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3289F6
Deuteranopia (green-blind)
#3683EF
Tritanopia (blue-blind)
#708CA7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d71f2;
/* rgb */ color: rgb(141, 113, 242);
/* oklch */ color: oklch(63.7% 0.186 290.1);
Tailwind
colors: {
  custom: {
    50: '#b49af7',
    500: '#8d71f2',
    950: '#000000',
  },
}
SCSS
$custom: #8d71f2;
$custom-light: #b49af7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71f2",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 253.023,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.63727,
    "c": 0.18588,
    "h": 290.1
  },
  "luminance": 0.23884
}

Semantic roles & 50–950 ramp

primary
#8D71F2
secondary
#EAF2CD
accent
#E006B0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #8D71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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