#AB70F4#AB70F4

#AB70F4 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.5% C 0.193 H 302.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AB70F4
RGBrgb(171, 112, 244)
HSLhsl(267, 86%, 70%)
HSVhsv(267, 54%, 96%)
CMYKcmyk(29.9%, 54.1%, 0%, 4.3%)
CIE-LABlab(58.77, 49.00, -57.87)
CIE-LCHlch(58.77, 75.83, 310.25°)
OKLaboklab(66.51% 0.1023 -0.1633)
OKLCHoklch(66.51% 0.193 302.1)
XYZxyz(38.9141, 26.7779, 88.6889)
Luminance0.2678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70F4 #B9F470
analogous
#7077F4 #AB70F4 #ED70F4
triadic
#AB70F4 #F4AB70 #70F4AB
tetradic
#AB70F4 #F47077 #B9F470 #70F4ED
square
#AB70F4 #F47077 #B9F470 #70F4ED
split-complementary
#AB70F4 #F4ED70 #77F470
monochromatic
#6A11D9 #8A37F0 #AB70F4 #CCA9F8 #EEE2FD

Accessibility & contrast

On white

3.30
#AB70F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#AB70F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70F4
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70F4#FFFFFF#000000##000000
##AB70F41.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8CF8
Deuteranopia (green-blind)
#518DF1
Tritanopia (blue-blind)
#9D8AA7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab70f4;
/* rgb */ color: rgb(171, 112, 244);
/* oklch */ color: oklch(66.5% 0.193 302.1);
Tailwind
colors: {
  custom: {
    50: '#c89bf8',
    500: '#ab70f4',
    950: '#000000',
  },
}
SCSS
$custom: #ab70f4;
$custom-light: #c89bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70f4",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 244
  },
  "hsl": {
    "h": 266.818,
    "s": 85.714,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66512,
    "c": 0.19273,
    "h": 302.1
  },
  "luminance": 0.26778
}

Semantic roles & 50–950 ramp

primary
#AB70F4
secondary
#E2F3CD
accent
#E2037F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB70F4

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

Preview Lab → · Contrast checker → · Palette generator →

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