#8970EF#8970EF

#8970EF is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.0% C 0.183 H 289.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8970EF
RGBrgb(137, 112, 239)
HSLhsl(252, 80%, 69%)
HSVhsv(252, 53%, 94%)
CMYKcmyk(42.7%, 53.1%, 0%, 6.3%)
CIE-LABlab(55.21, 39.74, -60.97)
CIE-LCHlch(55.21, 72.78, 303.10°)
OKLaboklab(63.02% 0.06 -0.1734)
OKLCHoklch(63.02% 0.183 289.1)
XYZxyz(31.6863, 23.1376, 84.4411)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8970EF #D6EF70
analogous
#7097EF #8970EF #C970EF
triadic
#8970EF #EF8970 #70EF89
tetradic
#8970EF #EF7097 #D6EF70 #70EFC9
square
#8970EF #EF7097 #D6EF70 #70EFC9
split-complementary
#8970EF #EFC970 #97EF70
monochromatic
#3B17CE #5C39E9 #8970EF #B6A7F5 #E4DEFB

Accessibility & contrast

On white

3.73
#8970EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8970EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8970EF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8970EF#FFFFFF#000000##000000
##8970EF1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3287F3
Deuteranopia (green-blind)
#3481EC
Tritanopia (blue-blind)
#6B8BA5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8970ef;
/* rgb */ color: rgb(137, 112, 239);
/* oklch */ color: oklch(63.0% 0.183 289.1);
Tailwind
colors: {
  custom: {
    50: '#b199f5',
    500: '#8970ef',
    950: '#000000',
  },
}
SCSS
$custom: #8970ef;
$custom-light: #b199f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8970ef",
  "rgb": {
    "r": 137,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 251.811,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63023,
    "c": 0.18349,
    "h": 289.1
  },
  "luminance": 0.23139
}

Semantic roles & 50–950 ramp

primary
#8970EF
secondary
#E9F0CB
accent
#DC09B3
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8970EF

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

Preview Lab → · Contrast checker → · Palette generator →

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