#AB70EB#AB70EB

#AB70EB is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.0% C 0.182 H 304.0°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AB70EB
RGBrgb(171, 112, 235)
HSLhsl(269, 75%, 68%)
HSVhsv(269, 52%, 92%)
CMYKcmyk(27.2%, 52.3%, 0%, 7.8%)
CIE-LABlab(58.27, 46.86, -53.67)
CIE-LCHlch(58.27, 71.25, 311.13°)
OKLaboklab(65.98% 0.1018 -0.151)
OKLCHoklch(65.98% 0.182 304)
XYZxyz(37.5809, 26.2445, 81.6670)
Luminance0.2624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70EB #B0EB70
analogous
#7073EB #AB70EB #E870EB
triadic
#AB70EB #EBAB70 #70EBAB
tetradic
#AB70EB #EB7073 #B0EB70 #70EBE8
square
#AB70EB #EB7073 #B0EB70 #70EBE8
split-complementary
#AB70EB #EBE870 #73EB70
monochromatic
#6D1CC5 #8B3AE3 #AB70EB #CBA6F3 #EADBFA

Accessibility & contrast

On white

3.36
#AB70EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#AB70EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70EB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70EB#FFFFFF#000000##000000
##AB70EB1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BEF
Deuteranopia (green-blind)
#598CE8
Tritanopia (blue-blind)
#A087A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab70eb;
/* rgb */ color: rgb(171, 112, 235);
/* oklch */ color: oklch(66.0% 0.182 304.0);
Tailwind
colors: {
  custom: {
    50: '#c79bf2',
    500: '#ab70eb',
    950: '#000000',
  },
}
SCSS
$custom: #ab70eb;
$custom-light: #c79bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70eb",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 268.78,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65981,
    "c": 0.18215,
    "h": 304
  },
  "luminance": 0.26244
}

Semantic roles & 50–950 ramp

primary
#AB70EB
secondary
#DCEEC9
accent
#D80E77
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB70EB

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

Preview Lab → · Contrast checker → · Palette generator →

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