#8F71EA#8F71EA

#8F71EA is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.4% C 0.176 H 292.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8F71EA
RGBrgb(143, 113, 234)
HSLhsl(255, 74%, 68%)
HSVhsv(255, 52%, 92%)
CMYKcmyk(38.9%, 51.7%, 0%, 8.2%)
CIE-LABlab(55.67, 39.18, -57.41)
CIE-LCHlch(55.67, 69.51, 304.31°)
OKLaboklab(63.4% 0.0659 -0.1628)
OKLCHoklch(63.4% 0.176 292.1)
XYZxyz(32.0801, 23.5896, 80.6890)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F71EA #CCEA71
analogous
#718FEA #8F71EA #CB71EA
triadic
#8F71EA #EA8F71 #71EA8F
tetradic
#8F71EA #EA718F #CCEA71 #71EACB
square
#8F71EA #EA718F #CCEA71 #71EACB
split-complementary
#8F71EA #EACB71 #8FEA71
monochromatic
#461DC4 #653CE2 #8F71EA #B9A6F2 #E3DCFA

Accessibility & contrast

On white

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

On black

5.72
#8F71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F71EA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F71EA#FFFFFF#000000##000000
##8F71EA1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D87EE
Deuteranopia (green-blind)
#4383E7
Tritanopia (blue-blind)
#778AA3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8f71ea;
/* rgb */ color: rgb(143, 113, 234);
/* oklch */ color: oklch(63.4% 0.176 292.1);
Tailwind
colors: {
  custom: {
    50: '#b49af1',
    500: '#8f71ea',
    950: '#000000',
  },
}
SCSS
$custom: #8f71ea;
$custom-light: #b49af1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f71ea",
  "rgb": {
    "r": 143,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 254.876,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63398,
    "c": 0.17563,
    "h": 292.1
  },
  "luminance": 0.2359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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