#8970F2#8970F2

#8970F2 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.2% C 0.187 H 288.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8970F2
RGBrgb(137, 112, 242)
HSLhsl(252, 83%, 69%)
HSVhsv(252, 54%, 95%)
CMYKcmyk(43.4%, 53.7%, 0%, 5.1%)
CIE-LABlab(55.40, 40.57, -62.34)
CIE-LCHlch(55.40, 74.38, 303.06°)
OKLaboklab(63.22% 0.0601 -0.1774)
OKLCHoklch(63.22% 0.187 288.7)
XYZxyz(32.1332, 23.3163, 86.7946)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8970F2 #D9F270
analogous
#7098F2 #8970F2 #CA70F2
triadic
#8970F2 #F28970 #70F289
tetradic
#8970F2 #F27098 #D9F270 #70F2CA
square
#8970F2 #F27098 #D9F270 #70F2CA
split-complementary
#8970F2 #F2CA70 #98F270
monochromatic
#3813D4 #5B38ED #8970F2 #B7A8F7 #E6E0FC

Accessibility & contrast

On white

3.71
#8970F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8970F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8970F2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8970F2#FFFFFF#000000##000000
##8970F21.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D87F6
Deuteranopia (green-blind)
#2F81EF
Tritanopia (blue-blind)
#6A8CA6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8970f2;
/* rgb */ color: rgb(137, 112, 242);
/* oklch */ color: oklch(63.2% 0.187 288.7);
Tailwind
colors: {
  custom: {
    50: '#b19af7',
    500: '#8970f2',
    950: '#000000',
  },
}
SCSS
$custom: #8970f2;
$custom-light: #b19af7;
$custom-dark: #000000;
JSON
{
  "hex": "#8970f2",
  "rgb": {
    "r": 137,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 251.538,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63217,
    "c": 0.18735,
    "h": 288.7
  },
  "luminance": 0.23318
}

Semantic roles & 50–950 ramp

primary
#8970F2
secondary
#EAF2CC
accent
#E006B6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8970F2

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

Preview Lab → · Contrast checker → · Palette generator →

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