#8970FB#8970FB

#8970FB is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.8% C 0.199 H 287.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8970FB
RGBrgb(137, 112, 251)
HSLhsl(251, 95%, 71%)
HSVhsv(251, 55%, 98%)
CMYKcmyk(45.4%, 55.4%, 0%, 1.6%)
CIE-LABlab(55.96, 43.09, -66.43)
CIE-LCHlch(55.96, 79.18, 302.97°)
OKLaboklab(63.81% 0.0603 -0.1895)
OKLCHoklch(63.81% 0.199 287.7)
XYZxyz(33.5183, 23.8704, 94.0894)
Luminance0.2387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8970FB #E2FB70
analogous
#709CFB #8970FB #CE70FB
triadic
#8970FB #FB8970 #70FB89
tetradic
#8970FB #FB709C #E2FB70 #70FBCE
square
#8970FB #FB709C #E2FB70 #70FBCE
split-complementary
#8970FB #FBCE70 #9CFB70
monochromatic
#2F07EA #5834F9 #8970FB #BAACFD #E6E1FE

Accessibility & contrast

On white

3.64
#8970FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8970FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8970FB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8970FB#FFFFFF#000000##000000
##8970FB1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B89FF
Deuteranopia (green-blind)
#1C82F8
Tritanopia (blue-blind)
#658FAB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8970fb;
/* rgb */ color: rgb(137, 112, 251);
/* oklch */ color: oklch(63.8% 0.199 287.7);
Tailwind
colors: {
  custom: {
    50: '#b29afd',
    500: '#8970fb',
    950: '#000000',
  },
}
SCSS
$custom: #8970fb;
$custom-light: #b29afd;
$custom-dark: #000000;
JSON
{
  "hex": "#8970fb",
  "rgb": {
    "r": 137,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 250.791,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.63812,
    "c": 0.19883,
    "h": 287.7
  },
  "luminance": 0.23872
}

Semantic roles & 50–950 ramp

primary
#8970FB
secondary
#EFF6D1
accent
#E600BC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8970FB

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

Preview Lab → · Contrast checker → · Palette generator →

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