#AB70E5#AB70E5

#AB70E5 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.6% C 0.175 H 305.4°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AB70E5
RGBrgb(171, 112, 229)
HSLhsl(270, 69%, 67%)
HSVhsv(270, 51%, 90%)
CMYKcmyk(25.3%, 51.1%, 0%, 10.2%)
CIE-LABlab(57.95, 45.46, -50.83)
CIE-LCHlch(57.95, 68.19, 311.81°)
OKLaboklab(65.64% 0.1014 -0.1427)
OKLCHoklch(65.64% 0.175 305.4)
XYZxyz(36.7286, 25.9036, 77.1785)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70E5 #AAE570
analogous
#7170E5 #AB70E5 #E570E5
triadic
#AB70E5 #E5AB70 #70E5AB
tetradic
#AB70E5 #E57170 #AAE570 #70E5E5
square
#AB70E5 #E57170 #AAE570 #70E5E5
split-complementary
#AB70E5 #E5E570 #70E571
monochromatic
#6E22B9 #8D3CDC #AB70E5 #C9A4EE #E8D8F8

Accessibility & contrast

On white

3.40
#AB70E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#AB70E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70E5
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70E5#FFFFFF#000000##000000
##AB70E51.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C89E9
Deuteranopia (green-blind)
#5D8BE2
Tritanopia (blue-blind)
#A185A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab70e5;
/* rgb */ color: rgb(171, 112, 229);
/* oklch */ color: oklch(65.6% 0.175 305.4);
Tailwind
colors: {
  custom: {
    50: '#c79bee',
    500: '#ab70e5',
    950: '#000000',
  },
}
SCSS
$custom: #ab70e5;
$custom-light: #c79bee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70e5",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 229
  },
  "hsl": {
    "h": 270.256,
    "s": 69.231,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65638,
    "c": 0.17509,
    "h": 305.4
  },
  "luminance": 0.25903
}

Semantic roles & 50–950 ramp

primary
#AB70E5
secondary
#D8EBC6
accent
#D11472
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB70E5

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

Preview Lab → · Contrast checker → · Palette generator →

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