#8A71DA#8A71DA

#8A71DA is a mid, vivid violet. Relative luminance 0.223; OKLCH L 62.0% C 0.155 H 292.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8A71DA
RGBrgb(138, 113, 218)
HSLhsl(254, 59%, 65%)
HSVhsv(254, 48%, 85%)
CMYKcmyk(36.7%, 48.2%, 0%, 14.5%)
CIE-LABlab(54.32, 33.66, -50.62)
CIE-LCHlch(54.32, 60.79, 303.62°)
OKLaboklab(61.98% 0.0585 -0.143)
OKLCHoklch(61.98% 0.155 292.3)
XYZxyz(29.0379, 22.2748, 69.0856)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71DA #C1DA71
analogous
#718CDA #8A71DA #BF71DA
triadic
#8A71DA #DA8A71 #71DA8A
tetradic
#8A71DA #DA718C #C1DA71 #71DABF
square
#8A71DA #DA718C #C1DA71 #71DABF
split-complementary
#8A71DA #DABF71 #8CDA71
monochromatic
#482BA5 #6240CD #8A71DA #B2A2E7 #DAD2F3

Accessibility & contrast

On white

3.85
#8A71DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8A71DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71DA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71DA#FFFFFF#000000##000000
##8A71DA1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A83DE
Deuteranopia (green-blind)
#4E80D8
Tritanopia (blue-blind)
#76869B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a71da;
/* rgb */ color: rgb(138, 113, 218);
/* oklch */ color: oklch(62.0% 0.155 292.3);
Tailwind
colors: {
  custom: {
    50: '#b09ae6',
    500: '#8a71da',
    950: '#000000',
  },
}
SCSS
$custom: #8a71da;
$custom-light: #b09ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71da",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 254.286,
    "s": 58.659,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61983,
    "c": 0.15452,
    "h": 292.3
  },
  "luminance": 0.22275
}

Semantic roles & 50–950 ramp

primary
#8A71DA
secondary
#DDE5C1
accent
#C61F9F
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A71DA

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

Preview Lab → · Contrast checker → · Palette generator →

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