#8970EC#8970EC

#8970EC is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.8% C 0.180 H 289.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8970EC
RGBrgb(137, 112, 236)
HSLhsl(252, 77%, 68%)
HSVhsv(252, 53%, 93%)
CMYKcmyk(41.9%, 52.5%, 0%, 7.5%)
CIE-LABlab(55.03, 38.91, -59.59)
CIE-LCHlch(55.03, 71.16, 303.14°)
OKLaboklab(62.83% 0.0599 -0.1693)
OKLCHoklch(62.83% 0.18 289.5)
XYZxyz(31.2468, 22.9618, 82.1263)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8970EC #D3EC70
analogous
#7095EC #8970EC #C770EC
triadic
#8970EC #EC8970 #70EC89
tetradic
#8970EC #EC7095 #D3EC70 #70ECC7
square
#8970EC #EC7095 #D3EC70 #70ECC7
split-complementary
#8970EC #ECC770 #95EC70
monochromatic
#3D1AC7 #5C3AE5 #8970EC #B6A6F3 #E2DCFA

Accessibility & contrast

On white

3.75
#8970EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8970EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8970EC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8970EC#FFFFFF#000000##000000
##8970EC1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686F0
Deuteranopia (green-blind)
#3881E9
Tritanopia (blue-blind)
#6D8AA3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8970ec;
/* rgb */ color: rgb(137, 112, 236);
/* oklch */ color: oklch(62.8% 0.180 289.5);
Tailwind
colors: {
  custom: {
    50: '#b199f3',
    500: '#8970ec',
    950: '#000000',
  },
}
SCSS
$custom: #8970ec;
$custom-light: #b199f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8970ec",
  "rgb": {
    "r": 137,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 252.097,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6283,
    "c": 0.17961,
    "h": 289.5
  },
  "luminance": 0.22963
}

Semantic roles & 50–950 ramp

primary
#8970EC
secondary
#E7EFC9
accent
#D90DB0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8970EC

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

Preview Lab → · Contrast checker → · Palette generator →

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