#8A71F1#8A71F1

#8A71F1 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.4% C 0.185 H 289.0°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8A71F1
RGBrgb(138, 113, 241)
HSLhsl(252, 82%, 69%)
HSVhsv(252, 53%, 95%)
CMYKcmyk(42.7%, 53.1%, 0%, 5.5%)
CIE-LABlab(55.65, 39.94, -61.38)
CIE-LCHlch(55.65, 73.23, 303.06°)
OKLaboklab(63.41% 0.0602 -0.1746)
OKLCHoklch(63.41% 0.185 289)
XYZxyz(32.2591, 23.5633, 86.0505)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71F1 #D8F171
analogous
#7198F1 #8A71F1 #CA71F1
triadic
#8A71F1 #F18A71 #71F18A
tetradic
#8A71F1 #F17198 #D8F171 #71F1CA
square
#8A71F1 #F17198 #D8F171 #71F1CA
split-complementary
#8A71F1 #F1CA71 #98F171
monochromatic
#3A15D3 #5C39EC #8A71F1 #B8A9F6 #E6E0FC

Accessibility & contrast

On white

3.68
#8A71F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8A71F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71F1
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71F1#FFFFFF#000000##000000
##8A71F11.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3288F5
Deuteranopia (green-blind)
#3482EE
Tritanopia (blue-blind)
#6C8CA6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a71f1;
/* rgb */ color: rgb(138, 113, 241);
/* oklch */ color: oklch(63.4% 0.185 289.0);
Tailwind
colors: {
  custom: {
    50: '#b29af6',
    500: '#8a71f1',
    950: '#000000',
  },
}
SCSS
$custom: #8a71f1;
$custom-light: #b29af6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71f1",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 241
  },
  "hsl": {
    "h": 251.719,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63405,
    "c": 0.18465,
    "h": 289
  },
  "luminance": 0.23564
}

Semantic roles & 50–950 ramp

primary
#8A71F1
secondary
#EAF1CC
accent
#DE07B4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A71F1

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

Preview Lab → · Contrast checker → · Palette generator →

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