#AB70DD#AB70DD

#AB70DD is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.2% C 0.166 H 307.4°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AB70DD
RGBrgb(171, 112, 221)
HSLhsl(272, 62%, 65%)
HSVhsv(272, 49%, 87%)
CMYKcmyk(22.6%, 49.3%, 0%, 13.3%)
CIE-LABlab(57.53, 43.61, -47.01)
CIE-LCHlch(57.53, 64.13, 312.85°)
OKLaboklab(65.19% 0.1006 -0.1316)
OKLCHoklch(65.19% 0.166 307.4)
XYZxyz(35.6373, 25.4671, 71.4308)
Luminance0.2547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70DD #A2DD70
analogous
#7470DD #AB70DD #DD70D9
triadic
#AB70DD #DDAB70 #70DDAB
tetradic
#AB70DD #DD7470 #A2DD70 #70D9DD
square
#AB70DD #DD7470 #A2DD70 #70D9DD
split-complementary
#AB70DD #D9DD70 #70DD74
monochromatic
#6F28AA #8E3FD1 #AB70DD #C8A1E9 #E5D3F5

Accessibility & contrast

On white

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

On black

6.09
#AB70DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70DD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70DD#FFFFFF#000000##000000
##AB70DD1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5288E1
Deuteranopia (green-blind)
#638BDA
Tritanopia (blue-blind)
#A4839C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab70dd;
/* rgb */ color: rgb(171, 112, 221);
/* oklch */ color: oklch(65.2% 0.166 307.4);
Tailwind
colors: {
  custom: {
    50: '#c69ae8',
    500: '#ab70dd',
    950: '#000000',
  },
}
SCSS
$custom: #ab70dd;
$custom-light: #c69ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70dd",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 221
  },
  "hsl": {
    "h": 272.477,
    "s": 61.582,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65192,
    "c": 0.16567,
    "h": 307.4
  },
  "luminance": 0.25467
}

Semantic roles & 50–950 ramp

primary
#AB70DD
secondary
#D3E7C2
accent
#C91C6C
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB70DD

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

Preview Lab → · Contrast checker → · Palette generator →

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