#8F71F4#8F71F4

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

Color values

HEX#8F71F4
RGBrgb(143, 113, 244)
HSLhsl(254, 86%, 70%)
HSVhsv(254, 54%, 96%)
CMYKcmyk(41.4%, 53.7%, 0%, 4.3%)
CIE-LABlab(56.27, 41.89, -62.03)
CIE-LCHlch(56.27, 74.85, 304.03°)
OKLaboklab(64.03% 0.0664 -0.1763)
OKLCHoklch(64.03% 0.188 290.6)
XYZxyz(33.5575, 24.1805, 88.4696)
Luminance0.2418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F71F4 #D6F471
analogous
#7195F4 #8F71F4 #D071F4
triadic
#8F71F4 #F48F71 #71F48F
tetradic
#8F71F4 #F47195 #D6F471 #71F4D0
square
#8F71F4 #F47195 #D6F471 #71F4D0
split-complementary
#8F71F4 #F4D071 #95F471
monochromatic
#3F11DA #6238F0 #8F71F4 #BCAAF8 #E9E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F71F4#FFFFFF#000000##000000
##8F71F41.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)
#3189F8
Deuteranopia (green-blind)
#3684F1
Tritanopia (blue-blind)
#738DA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f71f4;
/* rgb */ color: rgb(143, 113, 244);
/* oklch */ color: oklch(64.0% 0.188 290.6);
Tailwind
colors: {
  custom: {
    50: '#b59af8',
    500: '#8f71f4',
    950: '#000000',
  },
}
SCSS
$custom: #8f71f4;
$custom-light: #b59af8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f71f4",
  "rgb": {
    "r": 143,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 253.74,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.64029,
    "c": 0.18842,
    "h": 290.6
  },
  "luminance": 0.24182
}

Semantic roles & 50–950 ramp

primary
#8F71F4
secondary
#EAF3CE
accent
#E203AF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #8F71F4

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

Preview Lab → · Contrast checker → · Palette generator →

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