#AB70E8#AB70E8

#AB70E8 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.8% C 0.179 H 304.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AB70E8
RGBrgb(171, 112, 232)
HSLhsl(270, 72%, 67%)
HSVhsv(270, 52%, 91%)
CMYKcmyk(26.3%, 51.7%, 0%, 9%)
CIE-LABlab(58.11, 46.16, -52.25)
CIE-LCHlch(58.11, 69.72, 311.46°)
OKLaboklab(65.81% 0.1016 -0.1469)
OKLCHoklch(65.81% 0.179 304.7)
XYZxyz(37.1511, 26.0726, 79.4036)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70E8 #ADE870
analogous
#7071E8 #AB70E8 #E770E8
triadic
#AB70E8 #E8AB70 #70E8AB
tetradic
#AB70E8 #E87071 #ADE870 #70E8E7
square
#AB70E8 #E87071 #ADE870 #70E8E7
split-complementary
#AB70E8 #E8E770 #71E870
monochromatic
#6D1FBF #8C3BE0 #AB70E8 #CAA5F0 #E9D9F9

Accessibility & contrast

On white

3.38
#AB70E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#AB70E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70E8
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70E8#FFFFFF#000000##000000
##AB70E81.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#498AEC
Deuteranopia (green-blind)
#5B8CE5
Tritanopia (blue-blind)
#A186A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab70e8;
/* rgb */ color: rgb(171, 112, 232);
/* oklch */ color: oklch(65.8% 0.179 304.7);
Tailwind
colors: {
  custom: {
    50: '#c79bf0',
    500: '#ab70e8',
    950: '#000000',
  },
}
SCSS
$custom: #ab70e8;
$custom-light: #c79bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70e8",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 232
  },
  "hsl": {
    "h": 269.5,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65808,
    "c": 0.17862,
    "h": 304.7
  },
  "luminance": 0.26072
}

Semantic roles & 50–950 ramp

primary
#AB70E8
secondary
#DAEDC7
accent
#D41174
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB70E8

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

Preview Lab → · Contrast checker → · Palette generator →

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