#8A71ED#8A71ED

#8A71ED is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.1% C 0.179 H 289.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8A71ED
RGBrgb(138, 113, 237)
HSLhsl(252, 78%, 69%)
HSVhsv(252, 52%, 93%)
CMYKcmyk(41.8%, 52.3%, 0%, 7.1%)
CIE-LABlab(55.41, 38.84, -59.54)
CIE-LCHlch(55.41, 71.09, 303.12°)
OKLaboklab(63.15% 0.06 -0.1692)
OKLCHoklch(63.15% 0.179 289.5)
XYZxyz(31.6682, 23.3269, 82.9383)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71ED #D4ED71
analogous
#7196ED #8A71ED #C871ED
triadic
#8A71ED #ED8A71 #71ED8A
tetradic
#8A71ED #ED7196 #D4ED71 #71EDC8
square
#8A71ED #ED7196 #D4ED71 #71EDC8
split-complementary
#8A71ED #EDC871 #96ED71
monochromatic
#3D1ACA #5D3BE6 #8A71ED #B7A7F4 #E4DEFB

Accessibility & contrast

On white

3.71
#8A71ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8A71ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71ED
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71ED#FFFFFF#000000##000000
##8A71ED1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F1
Deuteranopia (green-blind)
#3A82EA
Tritanopia (blue-blind)
#6E8BA4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a71ed;
/* rgb */ color: rgb(138, 113, 237);
/* oklch */ color: oklch(63.1% 0.179 289.5);
Tailwind
colors: {
  custom: {
    50: '#b19af3',
    500: '#8a71ed',
    950: '#000000',
  },
}
SCSS
$custom: #8a71ed;
$custom-light: #b19af3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71ed",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 252.097,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63149,
    "c": 0.17948,
    "h": 289.5
  },
  "luminance": 0.23328
}

Semantic roles & 50–950 ramp

primary
#8A71ED
secondary
#E8EFCA
accent
#DA0CB0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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