#8F71E4#8F71E4

#8F71E4 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.0% C 0.168 H 293.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8F71E4
RGBrgb(143, 113, 228)
HSLhsl(256, 68%, 67%)
HSVhsv(256, 50%, 89%)
CMYKcmyk(37.3%, 50.4%, 0%, 10.6%)
CIE-LABlab(55.33, 37.58, -54.60)
CIE-LCHlch(55.33, 66.29, 304.53°)
OKLaboklab(63.03% 0.0655 -0.1545)
OKLCHoklch(63.03% 0.168 293)
XYZxyz(31.2327, 23.2506, 76.2260)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F71E4 #C6E471
analogous
#718DE4 #8F71E4 #C871E4
triadic
#8F71E4 #E48F71 #71E48F
tetradic
#8F71E4 #E4718D #C6E471 #71E4C8
square
#8F71E4 #E4718D #C6E471 #71E4C8
split-complementary
#8F71E4 #E4C871 #8DE471
monochromatic
#4A23B8 #663EDA #8F71E4 #B8A4EE #E0D8F8

Accessibility & contrast

On white

3.72
#8F71E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8F71E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F71E4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F71E4#FFFFFF#000000##000000
##8F71E41.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4386E8
Deuteranopia (green-blind)
#4982E1
Tritanopia (blue-blind)
#7A88A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f71e4;
/* rgb */ color: rgb(143, 113, 228);
/* oklch */ color: oklch(63.0% 0.168 293.0);
Tailwind
colors: {
  custom: {
    50: '#b49aed',
    500: '#8f71e4',
    950: '#000000',
  },
}
SCSS
$custom: #8f71e4;
$custom-light: #b49aed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f71e4",
  "rgb": {
    "r": 143,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 255.652,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63029,
    "c": 0.16787,
    "h": 293
  },
  "luminance": 0.23251
}

Semantic roles & 50–950 ramp

primary
#8F71E4
secondary
#E1EBC6
accent
#D0169F
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8F71E4

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

Preview Lab → · Contrast checker → · Palette generator →

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