#8D71F8#8D71F8

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

Color values

HEX#8D71F8
RGBrgb(141, 113, 248)
HSLhsl(252, 91%, 71%)
HSVhsv(252, 54%, 97%)
CMYKcmyk(43.1%, 54.4%, 0%, 2.7%)
CIE-LABlab(56.34, 42.54, -64.14)
CIE-LCHlch(56.34, 76.97, 303.55°)
OKLaboklab(64.12% 0.0641 -0.1826)
OKLCHoklch(64.12% 0.194 289.3)
XYZxyz(33.8282, 24.2491, 91.6869)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71F8 #DCF871
analogous
#7198F8 #8D71F8 #D071F8
triadic
#8D71F8 #F88D71 #71F88D
tetradic
#8D71F8 #F87198 #DCF871 #71F8D0
square
#8D71F8 #F87198 #DCF871 #71F8D0
split-complementary
#8D71F8 #F8D071 #98F871
monochromatic
#380BE3 #5E37F5 #8D71F8 #BCABFB #E8E2FE

Accessibility & contrast

On white

3.59
#8D71F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8D71F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D71F8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D71F8#FFFFFF#000000##000000
##8D71F81.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#298AFD
Deuteranopia (green-blind)
#2D84F5
Tritanopia (blue-blind)
#6D8EAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d71f8;
/* rgb */ color: rgb(141, 113, 248);
/* oklch */ color: oklch(64.1% 0.194 289.3);
Tailwind
colors: {
  custom: {
    50: '#b49afb',
    500: '#8d71f8',
    950: '#000000',
  },
}
SCSS
$custom: #8d71f8;
$custom-light: #b49afb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71f8",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 252.444,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64116,
    "c": 0.19352,
    "h": 289.3
  },
  "luminance": 0.2425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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