#8D70CA#8D70CA

#8D70CA is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.2% C 0.135 H 297.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8D70CA
RGBrgb(141, 112, 202)
HSLhsl(259, 46%, 62%)
HSVhsv(259, 45%, 79%)
CMYKcmyk(30.2%, 44.6%, 0%, 20.8%)
CIE-LABlab(53.51, 30.84, -42.82)
CIE-LCHlch(53.51, 52.77, 305.77°)
OKLaboklab(61.17% 0.0615 -0.1201)
OKLCHoklch(61.17% 0.135 297.1)
XYZxyz(27.4368, 21.5150, 58.5730)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D70CA #ADCA70
analogous
#7080CA #8D70CA #BA70CA
triadic
#8D70CA #CA8D70 #70CA8D
tetradic
#8D70CA #CA7080 #ADCA70 #70CABA
square
#8D70CA #CA7080 #ADCA70 #70CABA
split-complementary
#8D70CA #CABA70 #80CA70
monochromatic
#50348C #6A44B8 #8D70CA #B19DDB #D4C9EB

Accessibility & contrast

On white

3.96
#8D70CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#8D70CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D70CA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D70CA#FFFFFF#000000##000000
##8D70CA1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CD
Deuteranopia (green-blind)
#5A7FC8
Tritanopia (blue-blind)
#808093
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d70ca;
/* rgb */ color: rgb(141, 112, 202);
/* oklch */ color: oklch(61.2% 0.135 297.1);
Tailwind
colors: {
  custom: {
    50: '#b199da',
    500: '#8d70ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d70ca;
$custom-light: #b199da;
$custom-dark: #000000;
JSON
{
  "hex": "#8d70ca",
  "rgb": {
    "r": 141,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 259.333,
    "s": 45.918,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61166,
    "c": 0.13494,
    "h": 297.1
  },
  "luminance": 0.21515
}

Semantic roles & 50–950 ramp

primary
#8D70CA
secondary
#D1DCBA
accent
#B92C8C
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8D70CA

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

Preview Lab → · Contrast checker → · Palette generator →

#8D70CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva