#AB70F8#AB70F8

#AB70F8 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.8% C 0.197 H 301.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AB70F8
RGBrgb(171, 112, 248)
HSLhsl(266, 91%, 71%)
HSVhsv(266, 55%, 97%)
CMYKcmyk(31%, 54.8%, 0%, 2.7%)
CIE-LABlab(59.00, 49.96, -59.72)
CIE-LCHlch(59.00, 77.86, 309.91°)
OKLaboklab(66.75% 0.1024 -0.1688)
OKLCHoklch(66.75% 0.197 301.3)
XYZxyz(39.5281, 27.0234, 91.9223)
Luminance0.2702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70F8 #BDF870
analogous
#7079F8 #AB70F8 #EF70F8
triadic
#AB70F8 #F8AB70 #70F8AB
tetradic
#AB70F8 #F87079 #BDF870 #70F8EF
square
#AB70F8 #F87079 #BDF870 #70F8EF
split-complementary
#AB70F8 #F8EF70 #79F870
monochromatic
#690BE3 #8936F5 #AB70F8 #CDAAFB #EEE2FE

Accessibility & contrast

On white

3.28
#AB70F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#AB70F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70F8
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70F8#FFFFFF#000000##000000
##AB70F81.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#398DFD
Deuteranopia (green-blind)
#4D8DF5
Tritanopia (blue-blind)
#9C8BA9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab70f8;
/* rgb */ color: rgb(171, 112, 248);
/* oklch */ color: oklch(66.8% 0.197 301.3);
Tailwind
colors: {
  custom: {
    50: '#c89bfb',
    500: '#ab70f8',
    950: '#000000',
  },
}
SCSS
$custom: #ab70f8;
$custom-light: #c89bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70f8",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 266.029,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66753,
    "c": 0.19741,
    "h": 301.3
  },
  "luminance": 0.27024
}

Semantic roles & 50–950 ramp

primary
#AB70F8
secondary
#E4F4CF
accent
#E60082
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB70F8

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

Preview Lab → · Contrast checker → · Palette generator →

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