#8F71BB#8F71BB

#8F71BB is a mid, moderate violet. Relative luminance 0.212; OKLCH L 60.7% C 0.114 H 301.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8F71BB
RGBrgb(143, 113, 187)
HSLhsl(264, 35%, 59%)
HSVhsv(264, 40%, 73%)
CMYKcmyk(23.5%, 39.6%, 0%, 26.7%)
CIE-LABlab(53.21, 27.09, -34.69)
CIE-LCHlch(53.21, 44.02, 307.99°)
OKLaboklab(60.75% 0.0598 -0.0965)
OKLCHoklch(60.75% 0.114 301.8)
XYZxyz(26.2005, 21.2377, 49.7230)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F71BB #9DBB71
analogous
#7178BB #8F71BB #B471BB
triadic
#8F71BB #BB8F71 #71BB8F
tetradic
#8F71BB #BB7178 #9DBB71 #71BBB4
square
#8F71BB #BB7178 #9DBB71 #71BBB4
split-complementary
#8F71BB #BBB471 #78BB71
monochromatic
#533A78 #6F4DA1 #8F71BB #B09ACF #D0C4E3

Accessibility & contrast

On white

4.00
#8F71BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8F71BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F71BB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F71BB#FFFFFF#000000##000000
##8F71BB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBE
Deuteranopia (green-blind)
#657FB9
Tritanopia (blue-blind)
#877D8D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8f71bb;
/* rgb */ color: rgb(143, 113, 187);
/* oklch */ color: oklch(60.7% 0.114 301.8);
Tailwind
colors: {
  custom: {
    50: '#b19ad0',
    500: '#8f71bb',
    950: '#000000',
  },
}
SCSS
$custom: #8f71bb;
$custom-light: #b19ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f71bb",
  "rgb": {
    "r": 143,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 264.324,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60745,
    "c": 0.11355,
    "h": 301.8
  },
  "luminance": 0.21238
}

Semantic roles & 50–950 ramp

primary
#8F71BB
secondary
#C7D2B5
accent
#CB5D9E
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #8F71BB

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

Preview Lab → · Contrast checker → · Palette generator →

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