#AB70DF#AB70DF

#AB70DF is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.3% C 0.168 H 306.9°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AB70DF
RGBrgb(171, 112, 223)
HSLhsl(272, 63%, 66%)
HSVhsv(272, 50%, 87%)
CMYKcmyk(23.3%, 49.8%, 0%, 12.5%)
CIE-LABlab(57.63, 44.07, -47.97)
CIE-LCHlch(57.63, 65.14, 312.57°)
OKLaboklab(65.3% 0.1009 -0.1344)
OKLCHoklch(65.3% 0.168 306.9)
XYZxyz(35.9053, 25.5743, 72.8425)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70DF #A4DF70
analogous
#7370DF #AB70DF #DF70DB
triadic
#AB70DF #DFAB70 #70DFAB
tetradic
#AB70DF #DF7370 #A4DF70 #70DBDF
square
#AB70DF #DF7370 #A4DF70 #70DBDF
split-complementary
#AB70DF #DBDF70 #70DF73
monochromatic
#6F27AE #8E3ED4 #AB70DF #C8A2EA #E6D4F5

Accessibility & contrast

On white

3.43
#AB70DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#AB70DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70DF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70DF#FFFFFF#000000##000000
##AB70DF1.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5188E3
Deuteranopia (green-blind)
#618BDC
Tritanopia (blue-blind)
#A3839D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab70df;
/* rgb */ color: rgb(171, 112, 223);
/* oklch */ color: oklch(65.3% 0.168 306.9);
Tailwind
colors: {
  custom: {
    50: '#c69be9',
    500: '#ab70df',
    950: '#000000',
  },
}
SCSS
$custom: #ab70df;
$custom-light: #c69be9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70df",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 271.892,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65302,
    "c": 0.16803,
    "h": 306.9
  },
  "luminance": 0.25574
}

Semantic roles & 50–950 ramp

primary
#AB70DF
secondary
#D4E8C3
accent
#CB1A6D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB70DF

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

Preview Lab → · Contrast checker → · Palette generator →

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