#8B71B4#8B71B4

#8B71B4 is a mid, moderate violet. Relative luminance 0.206; OKLCH L 60.0% C 0.103 H 301.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8B71B4
RGBrgb(139, 113, 180)
HSLhsl(263, 31%, 57%)
HSVhsv(263, 37%, 71%)
CMYKcmyk(22.8%, 37.2%, 0%, 29.4%)
CIE-LABlab(52.50, 24.18, -31.79)
CIE-LCHlch(52.50, 39.94, 307.26°)
OKLaboklab(60.01% 0.0535 -0.0882)
OKLCHoklch(60.01% 0.103 301.2)
XYZxyz(24.7890, 20.5945, 45.8403)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B71B4 #9AB471
analogous
#7178B4 #8B71B4 #AD71B4
triadic
#8B71B4 #B48B71 #71B48B
tetradic
#8B71B4 #B47178 #9AB471 #71B4AD
square
#8B71B4 #B47178 #9AB471 #71B4AD
split-complementary
#8B71B4 #B4AD71 #78B471
monochromatic
#4F3B70 #6C5098 #8B71B4 #AC99C9 #CCC1DE

Accessibility & contrast

On white

4.10
#8B71B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8B71B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B71B4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B71B4#FFFFFF#000000##000000
##8B71B41.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#617DB7
Deuteranopia (green-blind)
#667DB2
Tritanopia (blue-blind)
#847C8A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b71b4;
/* rgb */ color: rgb(139, 113, 180);
/* oklch */ color: oklch(60.0% 0.103 301.2);
Tailwind
colors: {
  custom: {
    50: '#ae9aca',
    500: '#8b71b4',
    950: '#000000',
  },
}
SCSS
$custom: #8b71b4;
$custom-light: #ae9aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b71b4",
  "rgb": {
    "r": 139,
    "g": 113,
    "b": 180
  },
  "hsl": {
    "h": 263.284,
    "s": 30.876,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60013,
    "c": 0.10317,
    "h": 301.2
  },
  "luminance": 0.20595
}

Semantic roles & 50–950 ramp

primary
#8B71B4
secondary
#C3CEB3
accent
#C7619F
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8B71B4

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

Preview Lab → · Contrast checker → · Palette generator →

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