#8970EB#8970EB

#8970EB is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.8% C 0.178 H 289.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8970EB
RGBrgb(137, 112, 235)
HSLhsl(252, 75%, 68%)
HSVhsv(252, 52%, 92%)
CMYKcmyk(41.7%, 52.3%, 0%, 7.8%)
CIE-LABlab(54.97, 38.63, -59.12)
CIE-LCHlch(54.97, 70.63, 303.16°)
OKLaboklab(62.77% 0.0598 -0.168)
OKLCHoklch(62.77% 0.178 289.6)
XYZxyz(31.1019, 22.9038, 81.3633)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8970EB #D2EB70
analogous
#7094EB #8970EB #C670EB
triadic
#8970EB #EB8970 #70EB89
tetradic
#8970EB #EB7094 #D2EB70 #70EBC6
square
#8970EB #EB7094 #D2EB70 #70EBC6
split-complementary
#8970EB #EBC670 #94EB70
monochromatic
#3E1CC5 #5D3AE3 #8970EB #B5A6F3 #E2DBFA

Accessibility & contrast

On white

3.76
#8970EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#8970EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8970EB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8970EB#FFFFFF#000000##000000
##8970EB1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786EF
Deuteranopia (green-blind)
#3A81E8
Tritanopia (blue-blind)
#6D8AA3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8970eb;
/* rgb */ color: rgb(137, 112, 235);
/* oklch */ color: oklch(62.8% 0.178 289.6);
Tailwind
colors: {
  custom: {
    50: '#b199f2',
    500: '#8970eb',
    950: '#000000',
  },
}
SCSS
$custom: #8970eb;
$custom-light: #b199f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8970eb",
  "rgb": {
    "r": 137,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 252.195,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62767,
    "c": 0.17831,
    "h": 289.6
  },
  "luminance": 0.22905
}

Semantic roles & 50–950 ramp

primary
#8970EB
secondary
#E7EEC9
accent
#D80EAF
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8970EB

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

Preview Lab → · Contrast checker → · Palette generator →

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