#8F71BF#8F71BF

#8F71BF is a mid, moderate violet. Relative luminance 0.214; OKLCH L 60.9% C 0.119 H 300.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8F71BF
RGBrgb(143, 113, 191)
HSLhsl(263, 38%, 60%)
HSVhsv(263, 41%, 75%)
CMYKcmyk(25.1%, 40.8%, 0%, 25.1%)
CIE-LABlab(53.40, 28.07, -36.69)
CIE-LCHlch(53.40, 46.20, 307.42°)
OKLaboklab(60.95% 0.0606 -0.1023)
OKLCHoklch(60.95% 0.119 300.6)
XYZxyz(26.6347, 21.4114, 52.0097)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F71BF #A1BF71
analogous
#717ABF #8F71BF #B671BF
triadic
#8F71BF #BF8F71 #71BF8F
tetradic
#8F71BF #BF717A #A1BF71 #71BFB6
square
#8F71BF #BF717A #A1BF71 #71BFB6
split-complementary
#8F71BF #BFB671 #7ABF71
monochromatic
#53387D #6F4BA7 #8F71BF #B09BD2 #D2C5E5

Accessibility & contrast

On white

3.98
#8F71BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8F71BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F71BF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F71BF#FFFFFF#000000##000000
##8F71BF1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC2
Deuteranopia (green-blind)
#637FBD
Tritanopia (blue-blind)
#867E8F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8f71bf;
/* rgb */ color: rgb(143, 113, 191);
/* oklch */ color: oklch(60.9% 0.119 300.6);
Tailwind
colors: {
  custom: {
    50: '#b19ad2',
    500: '#8f71bf',
    950: '#000000',
  },
}
SCSS
$custom: #8f71bf;
$custom-light: #b19ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f71bf",
  "rgb": {
    "r": 143,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 263.077,
    "s": 37.864,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60949,
    "c": 0.11891,
    "h": 300.6
  },
  "luminance": 0.21411
}

Semantic roles & 50–950 ramp

primary
#8F71BF
secondary
#C9D5B7
accent
#CE5AA1
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #8F71BF

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

Preview Lab → · Contrast checker → · Palette generator →

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