#AB70EA#AB70EA

#AB70EA is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.9% C 0.181 H 304.2°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AB70EA
RGBrgb(171, 112, 234)
HSLhsl(269, 74%, 68%)
HSVhsv(269, 52%, 92%)
CMYKcmyk(26.9%, 52.1%, 0%, 8.2%)
CIE-LABlab(58.21, 46.63, -53.20)
CIE-LCHlch(58.21, 70.74, 311.23°)
OKLaboklab(65.92% 0.1018 -0.1497)
OKLCHoklch(65.92% 0.181 304.2)
XYZxyz(37.4368, 26.1869, 80.9083)
Luminance0.2619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70EA #AFEA70
analogous
#7072EA #AB70EA #E870EA
triadic
#AB70EA #EAAB70 #70EAAB
tetradic
#AB70EA #EA7072 #AFEA70 #70EAE8
square
#AB70EA #EA7072 #AFEA70 #70EAE8
split-complementary
#AB70EA #EAE870 #72EA70
monochromatic
#6D1DC3 #8C3BE2 #AB70EA #CAA5F2 #EADBFA

Accessibility & contrast

On white

3.37
#AB70EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#AB70EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70EA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70EA#FFFFFF#000000##000000
##AB70EA1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#488AEE
Deuteranopia (green-blind)
#5A8CE7
Tritanopia (blue-blind)
#A086A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab70ea;
/* rgb */ color: rgb(171, 112, 234);
/* oklch */ color: oklch(65.9% 0.181 304.2);
Tailwind
colors: {
  custom: {
    50: '#c79bf1',
    500: '#ab70ea',
    950: '#000000',
  },
}
SCSS
$custom: #ab70ea;
$custom-light: #c79bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70ea",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 269.016,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65923,
    "c": 0.18098,
    "h": 304.2
  },
  "luminance": 0.26187
}

Semantic roles & 50–950 ramp

primary
#AB70EA
secondary
#DCEEC8
accent
#D70F76
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB70EA

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

Preview Lab → · Contrast checker → · Palette generator →

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