#AB70E4#AB70E4

#AB70E4 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.6% C 0.174 H 305.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AB70E4
RGBrgb(171, 112, 228)
HSLhsl(271, 68%, 67%)
HSVhsv(271, 51%, 89%)
CMYKcmyk(25%, 50.9%, 0%, 10.6%)
CIE-LABlab(57.89, 45.23, -50.36)
CIE-LCHlch(57.89, 67.68, 311.93°)
OKLaboklab(65.58% 0.1013 -0.1414)
OKLCHoklch(65.58% 0.174 305.6)
XYZxyz(36.5894, 25.8480, 76.4453)
Luminance0.2585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70E4 #A9E470
analogous
#7170E4 #AB70E4 #E470E3
triadic
#AB70E4 #E4AB70 #70E4AB
tetradic
#AB70E4 #E47170 #A9E470 #70E3E4
square
#AB70E4 #E47170 #A9E470 #70E3E4
split-complementary
#AB70E4 #E3E470 #70E471
monochromatic
#6E23B7 #8D3DDA #AB70E4 #C9A3EE #E7D7F7

Accessibility & contrast

On white

3.40
#AB70E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#AB70E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70E4
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70E4#FFFFFF#000000##000000
##AB70E41.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D89E8
Deuteranopia (green-blind)
#5E8BE1
Tritanopia (blue-blind)
#A285A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab70e4;
/* rgb */ color: rgb(171, 112, 228);
/* oklch */ color: oklch(65.6% 0.174 305.6);
Tailwind
colors: {
  custom: {
    50: '#c79bed',
    500: '#ab70e4',
    950: '#000000',
  },
}
SCSS
$custom: #ab70e4;
$custom-light: #c79bed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70e4",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 228
  },
  "hsl": {
    "h": 270.517,
    "s": 68.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65581,
    "c": 0.17391,
    "h": 305.6
  },
  "luminance": 0.25848
}

Semantic roles & 50–950 ramp

primary
#AB70E4
secondary
#D8EBC5
accent
#D01571
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB70E4

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

Preview Lab → · Contrast checker → · Palette generator →

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