#AB70DC#AB70DC

#AB70DC is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.1% C 0.165 H 307.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AB70DC
RGBrgb(171, 112, 220)
HSLhsl(273, 61%, 65%)
HSVhsv(273, 49%, 86%)
CMYKcmyk(22.3%, 49.1%, 0%, 13.7%)
CIE-LABlab(57.48, 43.39, -46.53)
CIE-LCHlch(57.48, 63.62, 313.00°)
OKLaboklab(65.14% 0.1005 -0.1302)
OKLCHoklch(65.14% 0.165 307.7)
XYZxyz(35.5045, 25.4140, 70.7313)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70DC #A1DC70
analogous
#7570DC #AB70DC #DC70D7
triadic
#AB70DC #DCAB70 #70DCAB
tetradic
#AB70DC #DC7570 #A1DC70 #70D7DC
square
#AB70DC #DC7570 #A1DC70 #70D7DC
split-complementary
#AB70DC #D7DC70 #70DC75
monochromatic
#6F29A8 #8E3FD0 #AB70DC #C8A1E8 #E5D2F4

Accessibility & contrast

On white

3.45
#AB70DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#AB70DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70DC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70DC#FFFFFF#000000##000000
##AB70DC1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5388E0
Deuteranopia (green-blind)
#638BD9
Tritanopia (blue-blind)
#A4829C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab70dc;
/* rgb */ color: rgb(171, 112, 220);
/* oklch */ color: oklch(65.1% 0.165 307.7);
Tailwind
colors: {
  custom: {
    50: '#c69ae7',
    500: '#ab70dc',
    950: '#000000',
  },
}
SCSS
$custom: #ab70dc;
$custom-light: #c69ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70dc",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 272.778,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65137,
    "c": 0.1645,
    "h": 307.7
  },
  "luminance": 0.25414
}

Semantic roles & 50–950 ramp

primary
#AB70DC
secondary
#D2E6C2
accent
#C81D6B
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB70DC

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

Preview Lab → · Contrast checker → · Palette generator →

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