#8A70E6#8A70E6

#8A70E6 is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.5% C 0.172 H 290.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8A70E6
RGBrgb(138, 112, 230)
HSLhsl(253, 70%, 67%)
HSVhsv(253, 51%, 90%)
CMYKcmyk(40%, 51.3%, 0%, 9.8%)
CIE-LABlab(54.77, 37.49, -56.65)
CIE-LCHlch(54.77, 67.93, 303.50°)
OKLaboklab(62.54% 0.0608 -0.1607)
OKLCHoklch(62.54% 0.172 290.7)
XYZxyz(30.5544, 22.7039, 77.6200)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70E6 #CCE670
analogous
#7091E6 #8A70E6 #C570E6
triadic
#8A70E6 #E68A70 #70E68A
tetradic
#8A70E6 #E67091 #CCE670 #70E6C5
square
#8A70E6 #E67091 #CCE670 #70E6C5
split-complementary
#8A70E6 #E6C570 #91E670
monochromatic
#4321BB #5F3CDD #8A70E6 #B5A4EF #DFD8F8

Accessibility & contrast

On white

3.79
#8A70E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8A70E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70E6
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70E6#FFFFFF#000000##000000
##8A70E61.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D85EA
Deuteranopia (green-blind)
#4180E3
Tritanopia (blue-blind)
#7188A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a70e6;
/* rgb */ color: rgb(138, 112, 230);
/* oklch */ color: oklch(62.5% 0.172 290.7);
Tailwind
colors: {
  custom: {
    50: '#b199ee',
    500: '#8a70e6',
    950: '#000000',
  },
}
SCSS
$custom: #8a70e6;
$custom-light: #b199ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70e6",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 230
  },
  "hsl": {
    "h": 253.22,
    "s": 70.238,
    "l": 67.059
  },
  "oklch": {
    "l": 0.62539,
    "c": 0.1718,
    "h": 290.7
  },
  "luminance": 0.22705
}

Semantic roles & 50–950 ramp

primary
#8A70E6
secondary
#E3ECC6
accent
#D213A8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A70E6

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

Preview Lab → · Contrast checker → · Palette generator →

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