#8970CA#8970CA

#8970CA is a mid, vivid violet. Relative luminance 0.212; OKLCH L 60.8% C 0.135 H 294.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8970CA
RGBrgb(137, 112, 202)
HSLhsl(257, 46%, 62%)
HSVhsv(257, 45%, 79%)
CMYKcmyk(32.2%, 44.6%, 0%, 20.8%)
CIE-LABlab(53.14, 29.74, -43.43)
CIE-LCHlch(53.14, 52.64, 304.41°)
OKLaboklab(60.8% 0.0566 -0.122)
OKLCHoklch(60.8% 0.135 294.9)
XYZxyz(26.7687, 21.1705, 58.5417)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8970CA #B1CA70
analogous
#7084CA #8970CA #B670CA
triadic
#8970CA #CA8970 #70CA89
tetradic
#8970CA #CA7084 #B1CA70 #70CAB6
square
#8970CA #CA7084 #B1CA70 #70CAB6
split-complementary
#8970CA #CAB670 #84CA70
monochromatic
#4C348C #6544B8 #8970CA #AE9DDB #D3C9EB

Accessibility & contrast

On white

4.01
#8970CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8970CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8970CA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8970CA#FFFFFF#000000##000000
##8970CA1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CD
Deuteranopia (green-blind)
#587EC8
Tritanopia (blue-blind)
#7A8193
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8970ca;
/* rgb */ color: rgb(137, 112, 202);
/* oklch */ color: oklch(60.8% 0.135 294.9);
Tailwind
colors: {
  custom: {
    50: '#ae99da',
    500: '#8970ca',
    950: '#000000',
  },
}
SCSS
$custom: #8970ca;
$custom-light: #ae99da;
$custom-dark: #000000;
JSON
{
  "hex": "#8970ca",
  "rgb": {
    "r": 137,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 256.667,
    "s": 45.918,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60796,
    "c": 0.1345,
    "h": 294.9
  },
  "luminance": 0.21171
}

Semantic roles & 50–950 ramp

primary
#8970CA
secondary
#D2DCBA
accent
#B92C92
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8970CA

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

Preview Lab → · Contrast checker → · Palette generator →

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