#8F71FB#8F71FB

#8F71FB is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.5% C 0.197 H 289.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8F71FB
RGBrgb(143, 113, 251)
HSLhsl(253, 95%, 71%)
HSVhsv(253, 55%, 98%)
CMYKcmyk(43%, 55%, 0%, 1.6%)
CIE-LABlab(56.70, 43.80, -65.22)
CIE-LCHlch(56.70, 78.56, 303.89°)
OKLaboklab(64.49% 0.0666 -0.1857)
OKLCHoklch(64.49% 0.197 289.7)
XYZxyz(34.6405, 24.6137, 94.1738)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F71FB #DDFB71
analogous
#7198FB #8F71FB #D471FB
triadic
#8F71FB #FB8F71 #71FB8F
tetradic
#8F71FB #FB7198 #DDFB71 #71FBD4
square
#8F71FB #FB7198 #DDFB71 #71FBD4
split-complementary
#8F71FB #FBD471 #98FB71
monochromatic
#3807EB #6035F9 #8F71FB #BEADFD #E8E1FE

Accessibility & contrast

On white

3.55
#8F71FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#8F71FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F71FB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F71FB#FFFFFF#000000##000000
##8F71FB1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#248BFF
Deuteranopia (green-blind)
#2A85F8
Tritanopia (blue-blind)
#6F8FAB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8f71fb;
/* rgb */ color: rgb(143, 113, 251);
/* oklch */ color: oklch(64.5% 0.197 289.7);
Tailwind
colors: {
  custom: {
    50: '#b69afd',
    500: '#8f71fb',
    950: '#000000',
  },
}
SCSS
$custom: #8f71fb;
$custom-light: #b69afd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f71fb",
  "rgb": {
    "r": 143,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 253.043,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64485,
    "c": 0.19727,
    "h": 289.7
  },
  "luminance": 0.24615
}

Semantic roles & 50–950 ramp

primary
#8F71FB
secondary
#EEF6D2
accent
#E600B4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8F71FB

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

Preview Lab → · Contrast checker → · Palette generator →

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