#8971F0#8971F0

#8971F0 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.3% C 0.183 H 288.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8971F0
RGBrgb(137, 113, 240)
HSLhsl(251, 81%, 69%)
HSVhsv(251, 53%, 94%)
CMYKcmyk(42.9%, 52.9%, 0%, 5.9%)
CIE-LABlab(55.50, 39.44, -61.06)
CIE-LCHlch(55.50, 72.69, 302.86°)
OKLaboklab(63.26% 0.0589 -0.1737)
OKLCHoklch(63.26% 0.183 288.7)
XYZxyz(31.9454, 23.4187, 85.2583)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971F0 #D8F071
analogous
#7199F0 #8971F0 #C971F0
triadic
#8971F0 #F08971 #71F089
tetradic
#8971F0 #F07199 #D8F071 #71F0C9
square
#8971F0 #F07199 #D8F071 #71F0C9
split-complementary
#8971F0 #F0C971 #99F071
monochromatic
#3916D1 #5B3AEA #8971F0 #B7A8F6 #E5E0FC

Accessibility & contrast

On white

3.69
#8971F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#8971F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971F0
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971F0#FFFFFF#000000##000000
##8971F01.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3388F4
Deuteranopia (green-blind)
#3582ED
Tritanopia (blue-blind)
#6B8CA6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8971f0;
/* rgb */ color: rgb(137, 113, 240);
/* oklch */ color: oklch(63.3% 0.183 288.7);
Tailwind
colors: {
  custom: {
    50: '#b19af6',
    500: '#8971f0',
    950: '#000000',
  },
}
SCSS
$custom: #8971f0;
$custom-light: #b19af6;
$custom-dark: #000000;
JSON
{
  "hex": "#8971f0",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 240
  },
  "hsl": {
    "h": 251.339,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63256,
    "c": 0.18339,
    "h": 288.7
  },
  "luminance": 0.2342
}

Semantic roles & 50–950 ramp

primary
#8971F0
secondary
#EAF1CC
accent
#DD08B5
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8971F0

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

Preview Lab → · Contrast checker → · Palette generator →

#8971F0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva