#8D71BF#8D71BF

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

Color values

HEX#8D71BF
RGBrgb(141, 113, 191)
HSLhsl(262, 38%, 60%)
HSVhsv(262, 41%, 75%)
CMYKcmyk(26.2%, 40.8%, 0%, 25.1%)
CIE-LABlab(53.21, 27.49, -37.01)
CIE-LCHlch(53.21, 46.10, 306.60°)
OKLaboklab(60.76% 0.0582 -0.1032)
OKLCHoklch(60.76% 0.119 299.4)
XYZxyz(26.2915, 21.2344, 51.9936)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D71BF #A3BF71
analogous
#717CBF #8D71BF #B471BF
triadic
#8D71BF #BF8D71 #71BF8D
tetradic
#8D71BF #BF717C #A3BF71 #71BFB4
square
#8D71BF #BF717C #A3BF71 #71BFB4
split-complementary
#8D71BF #BFB471 #7CBF71
monochromatic
#51387D #6C4BA7 #8D71BF #AF9BD2 #D1C5E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D71BF#FFFFFF#000000##000000
##8D71BF1.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)
#5C7FC2
Deuteranopia (green-blind)
#627EBD
Tritanopia (blue-blind)
#837E8F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d71bf;
/* rgb */ color: rgb(141, 113, 191);
/* oklch */ color: oklch(60.8% 0.119 299.4);
Tailwind
colors: {
  custom: {
    50: '#b09ad2',
    500: '#8d71bf',
    950: '#000000',
  },
}
SCSS
$custom: #8d71bf;
$custom-light: #b09ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d71bf",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 261.538,
    "s": 37.864,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60759,
    "c": 0.11852,
    "h": 299.4
  },
  "luminance": 0.21235
}

Semantic roles & 50–950 ramp

primary
#8D71BF
secondary
#CAD5B7
accent
#CE5AA4
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #8D71BF

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

Preview Lab → · Contrast checker → · Palette generator →

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