#8F71F5#8F71F5

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

Color values

HEX#8F71F5
RGBrgb(143, 113, 245)
HSLhsl(254, 87%, 70%)
HSVhsv(254, 54%, 96%)
CMYKcmyk(41.6%, 53.9%, 0%, 3.9%)
CIE-LABlab(56.33, 42.16, -62.48)
CIE-LCHlch(56.33, 75.38, 304.01°)
OKLaboklab(64.09% 0.0664 -0.1777)
OKLCHoklch(64.09% 0.19 290.5)
XYZxyz(33.7097, 24.2414, 89.2714)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F71F5 #D7F571
analogous
#7195F5 #8F71F5 #D171F5
triadic
#8F71F5 #F58F71 #71F58F
tetradic
#8F71F5 #F57195 #D7F571 #71F5D1
square
#8F71F5 #F57195 #D7F571 #71F5D1
split-complementary
#8F71F5 #F5D171 #95F571
monochromatic
#3E10DC #6238F1 #8F71F5 #BCAAF9 #E8E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F71F5#FFFFFF#000000##000000
##8F71F51.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)
#2F89F9
Deuteranopia (green-blind)
#3484F2
Tritanopia (blue-blind)
#728DA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f71f5;
/* rgb */ color: rgb(143, 113, 245);
/* oklch */ color: oklch(64.1% 0.190 290.5);
Tailwind
colors: {
  custom: {
    50: '#b59af9',
    500: '#8f71f5',
    950: '#000000',
  },
}
SCSS
$custom: #8f71f5;
$custom-light: #b59af9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f71f5",
  "rgb": {
    "r": 143,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 253.636,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64094,
    "c": 0.18969,
    "h": 290.5
  },
  "luminance": 0.24242
}

Semantic roles & 50–950 ramp

primary
#8F71F5
secondary
#EBF3CF
accent
#E302B0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #8F71F5

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

Preview Lab → · Contrast checker → · Palette generator →

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