#8F71DB#8F71DB

#8F71DB is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.5% C 0.156 H 294.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8F71DB
RGBrgb(143, 113, 219)
HSLhsl(257, 60%, 65%)
HSVhsv(257, 48%, 86%)
CMYKcmyk(34.7%, 48.4%, 0%, 14.1%)
CIE-LABlab(54.83, 35.20, -50.35)
CIE-LCHlch(54.83, 61.43, 304.96°)
OKLaboklab(62.49% 0.0647 -0.1421)
OKLCHoklch(62.49% 0.156 294.5)
XYZxyz(30.0157, 22.7638, 69.8165)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F71DB #BDDB71
analogous
#7188DB #8F71DB #C471DB
triadic
#8F71DB #DB8F71 #71DB8F
tetradic
#8F71DB #DB7188 #BDDB71 #71DBC4
square
#8F71DB #DB7188 #BDDB71 #71DBC4
split-complementary
#8F71DB #DBC471 #88DB71
monochromatic
#4E2AA7 #6840CF #8F71DB #B6A2E7 #DCD3F4

Accessibility & contrast

On white

3.78
#8F71DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8F71DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F71DB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F71DB#FFFFFF#000000##000000
##8F71DB1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B84DF
Deuteranopia (green-blind)
#5182D8
Tritanopia (blue-blind)
#7D869C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8f71db;
/* rgb */ color: rgb(143, 113, 219);
/* oklch */ color: oklch(62.5% 0.156 294.5);
Tailwind
colors: {
  custom: {
    50: '#b39ae7',
    500: '#8f71db',
    950: '#000000',
  },
}
SCSS
$custom: #8f71db;
$custom-light: #b39ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f71db",
  "rgb": {
    "r": 143,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 256.981,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62493,
    "c": 0.15612,
    "h": 294.5
  },
  "luminance": 0.22764
}

Semantic roles & 50–950 ramp

primary
#8F71DB
secondary
#DCE6C2
accent
#C71E97
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8F71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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