#8B70CA#8B70CA

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

Color values

HEX#8B70CA
RGBrgb(139, 112, 202)
HSLhsl(258, 46%, 62%)
HSVhsv(258, 45%, 79%)
CMYKcmyk(31.2%, 44.6%, 0%, 20.8%)
CIE-LABlab(53.32, 30.29, -43.12)
CIE-LCHlch(53.32, 52.70, 305.08°)
OKLaboklab(60.98% 0.059 -0.1211)
OKLCHoklch(60.98% 0.135 296)
XYZxyz(27.0997, 21.3412, 58.5572)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B70CA #AFCA70
analogous
#7082CA #8B70CA #B870CA
triadic
#8B70CA #CA8B70 #70CA8B
tetradic
#8B70CA #CA7082 #AFCA70 #70CAB8
square
#8B70CA #CA7082 #AFCA70 #70CAB8
split-complementary
#8B70CA #CAB870 #82CA70
monochromatic
#4E348C #6744B8 #8B70CA #AF9DDB #D3C9EB

Accessibility & contrast

On white

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

On black

5.27
#8B70CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B70CA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B70CA#FFFFFF#000000##000000
##8B70CA1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b70ca;
/* rgb */ color: rgb(139, 112, 202);
/* oklch */ color: oklch(61.0% 0.135 296.0);
Tailwind
colors: {
  custom: {
    50: '#af99da',
    500: '#8b70ca',
    950: '#000000',
  },
}
SCSS
$custom: #8b70ca;
$custom-light: #af99da;
$custom-dark: #000000;
JSON
{
  "hex": "#8b70ca",
  "rgb": {
    "r": 139,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 258,
    "s": 45.918,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6098,
    "c": 0.1347,
    "h": 296
  },
  "luminance": 0.21342
}

Semantic roles & 50–950 ramp

primary
#8B70CA
secondary
#D2DCBA
accent
#B92C8F
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8B70CA

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

Preview Lab → · Contrast checker → · Palette generator →

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