#AB70FB#AB70FB

#AB70FB is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 66.9% C 0.201 H 300.7°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AB70FB
RGBrgb(171, 112, 251)
HSLhsl(265, 95%, 71%)
HSVhsv(265, 55%, 98%)
CMYKcmyk(31.9%, 55.4%, 0%, 1.6%)
CIE-LABlab(59.17, 50.68, -61.10)
CIE-LCHlch(59.17, 79.38, 309.67°)
OKLaboklab(66.94% 0.1025 -0.1728)
OKLCHoklch(66.94% 0.201 300.7)
XYZxyz(39.9972, 27.2111, 94.3931)
Luminance0.2721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70FB #C0FB70
analogous
#707AFB #AB70FB #F170FB
triadic
#AB70FB #FBAB70 #70FBAB
tetradic
#AB70FB #FB707A #C0FB70 #70FBF1
square
#AB70FB #FB707A #C0FB70 #70FBF1
split-complementary
#AB70FB #FBF170 #7AFB70
monochromatic
#6707EA #8834F9 #AB70FB #CEACFD #EEE1FE

Accessibility & contrast

On white

3.26
#AB70FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#AB70FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70FB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70FB#FFFFFF#000000##000000
##AB70FB1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#348EFF
Deuteranopia (green-blind)
#4A8EF8
Tritanopia (blue-blind)
#9B8CAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab70fb;
/* rgb */ color: rgb(171, 112, 251);
/* oklch */ color: oklch(66.9% 0.201 300.7);
Tailwind
colors: {
  custom: {
    50: '#c89bfd',
    500: '#ab70fb',
    950: '#000000',
  },
}
SCSS
$custom: #ab70fb;
$custom-light: #c89bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70fb",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 265.468,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66936,
    "c": 0.20092,
    "h": 300.7
  },
  "luminance": 0.27211
}

Semantic roles & 50–950 ramp

primary
#AB70FB
secondary
#E6F6D1
accent
#E60084
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AB70FB

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

Preview Lab → · Contrast checker → · Palette generator →

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