#AB70DA#AB70DA

#AB70DA is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.0% C 0.162 H 308.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AB70DA
RGBrgb(171, 112, 218)
HSLhsl(273, 59%, 65%)
HSVhsv(273, 49%, 85%)
CMYKcmyk(21.6%, 48.6%, 0%, 14.5%)
CIE-LABlab(57.38, 42.93, -45.56)
CIE-LCHlch(57.38, 62.60, 313.30°)
OKLaboklab(65.03% 0.1003 -0.1274)
OKLCHoklch(65.03% 0.162 308.2)
XYZxyz(35.2412, 25.3087, 69.3446)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70DA #9FDA70
analogous
#7670DA #AB70DA #DA70D4
triadic
#AB70DA #DAAB70 #70DAAB
tetradic
#AB70DA #DA7670 #9FDA70 #70D4DA
square
#AB70DA #DA7670 #9FDA70 #70D4DA
split-complementary
#AB70DA #D4DA70 #70DA76
monochromatic
#6F2BA5 #8E3FCD #AB70DA #C8A1E7 #E4D1F3

Accessibility & contrast

On white

3.46
#AB70DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#AB70DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70DA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70DA#FFFFFF#000000##000000
##AB70DA1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5487DE
Deuteranopia (green-blind)
#658BD7
Tritanopia (blue-blind)
#A4829B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab70da;
/* rgb */ color: rgb(171, 112, 218);
/* oklch */ color: oklch(65.0% 0.162 308.2);
Tailwind
colors: {
  custom: {
    50: '#c69ae6',
    500: '#ab70da',
    950: '#000000',
  },
}
SCSS
$custom: #ab70da;
$custom-light: #c69ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70da",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 273.396,
    "s": 58.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65029,
    "c": 0.16214,
    "h": 308.2
  },
  "luminance": 0.25308
}

Semantic roles & 50–950 ramp

primary
#AB70DA
secondary
#D1E5C1
accent
#C71F69
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB70DA

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

Preview Lab → · Contrast checker → · Palette generator →

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