#8A70CB#8A70CB

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

Color values

HEX#8A70CB
RGBrgb(138, 112, 203)
HSLhsl(257, 47%, 62%)
HSVhsv(257, 45%, 80%)
CMYKcmyk(32%, 44.8%, 0%, 20.4%)
CIE-LABlab(53.28, 30.28, -43.77)
CIE-LCHlch(53.28, 53.22, 304.68°)
OKLaboklab(60.94% 0.058 -0.123)
OKLCHoklch(60.94% 0.136 295.2)
XYZxyz(27.0522, 21.3030, 59.1750)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70CB #B1CB70
analogous
#7084CB #8A70CB #B870CB
triadic
#8A70CB #CB8A70 #70CB8A
tetradic
#8A70CB #CB7084 #B1CB70 #70CBB8
square
#8A70CB #CB7084 #B1CB70 #70CBB8
split-complementary
#8A70CB #CBB870 #84CB70
monochromatic
#4D338D #6644BA #8A70CB #AF9DDB #D3CAEC

Accessibility & contrast

On white

3.99
#8A70CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8A70CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70CB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70CB#FFFFFF#000000##000000
##8A70CB1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CE
Deuteranopia (green-blind)
#587EC9
Tritanopia (blue-blind)
#7C8194
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a70cb;
/* rgb */ color: rgb(138, 112, 203);
/* oklch */ color: oklch(60.9% 0.136 295.2);
Tailwind
colors: {
  custom: {
    50: '#af99db',
    500: '#8a70cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a70cb;
$custom-light: #af99db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70cb",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 257.143,
    "s": 46.667,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60943,
    "c": 0.13595,
    "h": 295.2
  },
  "luminance": 0.21303
}

Semantic roles & 50–950 ramp

primary
#8A70CB
secondary
#D3DCBB
accent
#BA2C91
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A70CB

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

Preview Lab → · Contrast checker → · Palette generator →

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