#8A70CA#8A70CA

#8A70CA is a mid, vivid violet. Relative luminance 0.213; OKLCH L 60.9% C 0.135 H 295.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8A70CA
RGBrgb(138, 112, 202)
HSLhsl(257, 46%, 62%)
HSVhsv(257, 45%, 79%)
CMYKcmyk(31.7%, 44.6%, 0%, 20.8%)
CIE-LABlab(53.23, 30.02, -43.28)
CIE-LCHlch(53.23, 52.67, 304.74°)
OKLaboklab(60.89% 0.0578 -0.1215)
OKLCHoklch(60.89% 0.135 295.4)
XYZxyz(26.9334, 21.2555, 58.5494)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70CA #B0CA70
analogous
#7083CA #8A70CA #B770CA
triadic
#8A70CA #CA8A70 #70CA8A
tetradic
#8A70CA #CA7083 #B0CA70 #70CAB7
square
#8A70CA #CA7083 #B0CA70 #70CAB7
split-complementary
#8A70CA #CAB770 #83CA70
monochromatic
#4D348C #6644B8 #8A70CA #AF9DDB #D3C9EB

Accessibility & contrast

On white

4.00
#8A70CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8A70CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70CA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70CA#FFFFFF#000000##000000
##8A70CA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a70ca;
/* rgb */ color: rgb(138, 112, 202);
/* oklch */ color: oklch(60.9% 0.135 295.4);
Tailwind
colors: {
  custom: {
    50: '#ae99da',
    500: '#8a70ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a70ca;
$custom-light: #ae99da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70ca",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 257.333,
    "s": 45.918,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60888,
    "c": 0.13459,
    "h": 295.4
  },
  "luminance": 0.21256
}

Semantic roles & 50–950 ramp

primary
#8A70CA
secondary
#D2DCBA
accent
#B92C90
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A70CA

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

Preview Lab → · Contrast checker → · Palette generator →

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