#AB70E6#AB70E6

#AB70E6 is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.7% C 0.176 H 305.1°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AB70E6
RGBrgb(171, 112, 230)
HSLhsl(270, 70%, 67%)
HSVhsv(270, 51%, 90%)
CMYKcmyk(25.7%, 51.3%, 0%, 9.8%)
CIE-LABlab(58.00, 45.69, -51.31)
CIE-LCHlch(58.00, 68.70, 311.69°)
OKLaboklab(65.69% 0.1015 -0.1441)
OKLCHoklch(65.69% 0.176 305.1)
XYZxyz(36.8686, 25.9597, 77.9160)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70E6 #ABE670
analogous
#7070E6 #AB70E6 #E670E6
triadic
#AB70E6 #E6AB70 #70E6AB
tetradic
#AB70E6 #E67070 #ABE670 #70E6E6
square
#AB70E6 #E67070 #ABE670 #70E6E6
split-complementary
#AB70E6 #E6E670 #70E670
monochromatic
#6E21BB #8C3CDD #AB70E6 #CAA4EF #E8D8F8

Accessibility & contrast

On white

3.39
#AB70E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#AB70E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70E6
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70E6#FFFFFF#000000##000000
##AB70E61.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8AEA
Deuteranopia (green-blind)
#5D8CE3
Tritanopia (blue-blind)
#A185A1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab70e6;
/* rgb */ color: rgb(171, 112, 230);
/* oklch */ color: oklch(65.7% 0.176 305.1);
Tailwind
colors: {
  custom: {
    50: '#c79bee',
    500: '#ab70e6',
    950: '#000000',
  },
}
SCSS
$custom: #ab70e6;
$custom-light: #c79bee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70e6",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 230
  },
  "hsl": {
    "h": 270,
    "s": 70.238,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65694,
    "c": 0.17627,
    "h": 305.1
  },
  "luminance": 0.25959
}

Semantic roles & 50–950 ramp

primary
#AB70E6
secondary
#D9ECC6
accent
#D21373
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB70E6

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

Preview Lab → · Contrast checker → · Palette generator →

#AB70E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva