#8F71EB#8F71EB

#8F71EB is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.5% C 0.177 H 291.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8F71EB
RGBrgb(143, 113, 235)
HSLhsl(255, 75%, 68%)
HSVhsv(255, 52%, 92%)
CMYKcmyk(39.1%, 51.9%, 0%, 7.8%)
CIE-LABlab(55.73, 39.45, -57.88)
CIE-LCHlch(55.73, 70.04, 304.28°)
OKLaboklab(63.46% 0.066 -0.1641)
OKLCHoklch(63.46% 0.177 291.9)
XYZxyz(32.2242, 23.6472, 81.4477)
Luminance0.2365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F71EB #CDEB71
analogous
#7190EB #8F71EB #CC71EB
triadic
#8F71EB #EB8F71 #71EB8F
tetradic
#8F71EB #EB7190 #CDEB71 #71EBCC
square
#8F71EB #EB7190 #CDEB71 #71EBCC
split-complementary
#8F71EB #EBCC71 #90EB71
monochromatic
#461CC6 #653BE3 #8F71EB #B9A7F3 #E4DCFA

Accessibility & contrast

On white

3.67
#8F71EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#8F71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F71EB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F71EB#FFFFFF#000000##000000
##8F71EB1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EF
Deuteranopia (green-blind)
#4183E8
Tritanopia (blue-blind)
#778AA3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8f71eb;
/* rgb */ color: rgb(143, 113, 235);
/* oklch */ color: oklch(63.5% 0.177 291.9);
Tailwind
colors: {
  custom: {
    50: '#b49af2',
    500: '#8f71eb',
    950: '#000000',
  },
}
SCSS
$custom: #8f71eb;
$custom-light: #b49af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f71eb",
  "rgb": {
    "r": 143,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 254.754,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6346,
    "c": 0.17691,
    "h": 291.9
  },
  "luminance": 0.23648
}

Semantic roles & 50–950 ramp

primary
#8F71EB
secondary
#E5EEC9
accent
#D70EA6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8F71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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