#8A70ED#8A70ED

#8A70ED is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.0% C 0.181 H 289.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A70ED
RGBrgb(138, 112, 237)
HSLhsl(252, 78%, 68%)
HSVhsv(252, 53%, 93%)
CMYKcmyk(41.8%, 52.7%, 0%, 7.1%)
CIE-LABlab(55.18, 39.41, -59.90)
CIE-LCHlch(55.18, 71.70, 303.34°)
OKLaboklab(62.98% 0.0612 -0.1702)
OKLCHoklch(62.98% 0.181 289.8)
XYZxyz(31.5572, 23.1050, 82.9013)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70ED #D3ED70
analogous
#7094ED #8A70ED #C870ED
triadic
#8A70ED #ED8A70 #70ED8A
tetradic
#8A70ED #ED7094 #D3ED70 #70EDC8
square
#8A70ED #ED7094 #D3ED70 #70EDC8
split-complementary
#8A70ED #EDC870 #94ED70
monochromatic
#3E19C9 #5E3AE6 #8A70ED #B6A6F4 #E3DDFB

Accessibility & contrast

On white

3.74
#8A70ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8A70ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70ED
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70ED#FFFFFF#000000##000000
##8A70ED1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3587F1
Deuteranopia (green-blind)
#3881EA
Tritanopia (blue-blind)
#6E8AA4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a70ed;
/* rgb */ color: rgb(138, 112, 237);
/* oklch */ color: oklch(63.0% 0.181 289.8);
Tailwind
colors: {
  custom: {
    50: '#b199f3',
    500: '#8a70ed',
    950: '#000000',
  },
}
SCSS
$custom: #8a70ed;
$custom-light: #b199f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70ed",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 237
  },
  "hsl": {
    "h": 252.48,
    "s": 77.64,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6298,
    "c": 0.18089,
    "h": 289.8
  },
  "luminance": 0.23106
}

Semantic roles & 50–950 ramp

primary
#8A70ED
secondary
#E7EFCA
accent
#DA0CAF
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A70ED

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

Preview Lab → · Contrast checker → · Palette generator →

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