#8970EA#8970EA

#8970EA is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.7% C 0.177 H 289.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8970EA
RGBrgb(137, 112, 234)
HSLhsl(252, 74%, 68%)
HSVhsv(252, 52%, 92%)
CMYKcmyk(41.5%, 52.1%, 0%, 8.2%)
CIE-LABlab(54.91, 38.36, -58.66)
CIE-LCHlch(54.91, 70.09, 303.18°)
OKLaboklab(62.7% 0.0598 -0.1666)
OKLCHoklch(62.7% 0.177 289.7)
XYZxyz(30.9579, 22.8462, 80.6046)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8970EA #D1EA70
analogous
#7094EA #8970EA #C670EA
triadic
#8970EA #EA8970 #70EA89
tetradic
#8970EA #EA7094 #D1EA70 #70EAC6
square
#8970EA #EA7094 #D1EA70 #70EAC6
split-complementary
#8970EA #EAC670 #94EA70
monochromatic
#3F1DC3 #5D3BE2 #8970EA #B5A5F2 #E1DBFA

Accessibility & contrast

On white

3.77
#8970EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8970EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8970EA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8970EA#FFFFFF#000000##000000
##8970EA1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EE
Deuteranopia (green-blind)
#3B81E7
Tritanopia (blue-blind)
#6E8AA2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8970ea;
/* rgb */ color: rgb(137, 112, 234);
/* oklch */ color: oklch(62.7% 0.177 289.7);
Tailwind
colors: {
  custom: {
    50: '#b099f1',
    500: '#8970ea',
    950: '#000000',
  },
}
SCSS
$custom: #8970ea;
$custom-light: #b099f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8970ea",
  "rgb": {
    "r": 137,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 252.295,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62703,
    "c": 0.17701,
    "h": 289.7
  },
  "luminance": 0.22847
}

Semantic roles & 50–950 ramp

primary
#8970EA
secondary
#E6EEC8
accent
#D70FAE
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8970EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8970EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva