#8A71EF#8A71EF

#8A71EF is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.3% C 0.182 H 289.3°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8A71EF
RGBrgb(138, 113, 239)
HSLhsl(252, 80%, 69%)
HSVhsv(252, 53%, 94%)
CMYKcmyk(42.3%, 52.7%, 0%, 6.3%)
CIE-LABlab(55.53, 39.39, -60.46)
CIE-LCHlch(55.53, 72.16, 303.09°)
OKLaboklab(63.28% 0.0601 -0.1719)
OKLCHoklch(63.28% 0.182 289.3)
XYZxyz(31.9620, 23.4444, 84.4858)
Luminance0.2345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71EF #D6EF71
analogous
#7197EF #8A71EF #C971EF
triadic
#8A71EF #EF8A71 #71EF8A
tetradic
#8A71EF #EF7197 #D6EF71 #71EFC9
square
#8A71EF #EF7197 #D6EF71 #71EFC9
split-complementary
#8A71EF #EFC971 #97EF71
monochromatic
#3C17CE #5D3AE9 #8A71EF #B7A8F5 #E5DFFB

Accessibility & contrast

On white

3.69
#8A71EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8A71EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71EF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71EF#FFFFFF#000000##000000
##8A71EF1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3588F3
Deuteranopia (green-blind)
#3782EC
Tritanopia (blue-blind)
#6D8CA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a71ef;
/* rgb */ color: rgb(138, 113, 239);
/* oklch */ color: oklch(63.3% 0.182 289.3);
Tailwind
colors: {
  custom: {
    50: '#b29af5',
    500: '#8a71ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a71ef;
$custom-light: #b29af5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71ef",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 251.905,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63277,
    "c": 0.18207,
    "h": 289.3
  },
  "luminance": 0.23446
}

Semantic roles & 50–950 ramp

primary
#8A71EF
secondary
#E9F0CB
accent
#DC09B2
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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