#AB70FF#AB70FF

#AB70FF is a light, highly saturated violet. Relative luminance 0.275; OKLCH L 67.2% C 0.206 H 299.9°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AB70FF
RGBrgb(171, 112, 255)
HSLhsl(265, 100%, 72%)
HSVhsv(265, 56%, 100%)
CMYKcmyk(32.9%, 56.1%, 0%, 0%)
CIE-LABlab(59.40, 51.65, -62.93)
CIE-LCHlch(59.40, 81.41, 309.38°)
OKLaboklab(67.18% 0.1026 -0.1782)
OKLCHoklch(67.18% 0.206 299.9)
XYZxyz(40.6344, 27.4660, 97.7490)
Luminance0.2747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70FF #C4FF70
analogous
#707DFF #AB70FF #F270FF
triadic
#AB70FF #FFAB70 #70FFAB
tetradic
#AB70FF #FF707D #C4FF70 #70FFF2
square
#AB70FF #FF707D #C4FF70 #70FFF2
split-complementary
#AB70FF #FFF270 #7DFF70
monochromatic
#6500F5 #8733FF #AB70FF #CFADFF #EDE0FF

Accessibility & contrast

On white

3.23
#AB70FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#AB70FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70FF
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70FF#FFFFFF#000000##000000
##AB70FF1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8FFF
Deuteranopia (green-blind)
#468EFC
Tritanopia (blue-blind)
#998DAD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab70ff;
/* rgb */ color: rgb(171, 112, 255);
/* oklch */ color: oklch(67.2% 0.206 299.9);
Tailwind
colors: {
  custom: {
    50: '#c89bff',
    500: '#ab70ff',
    950: '#000000',
  },
}
SCSS
$custom: #ab70ff;
$custom-light: #c89bff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70ff",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 255
  },
  "hsl": {
    "h": 264.755,
    "s": 100,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67183,
    "c": 0.20559,
    "h": 299.9
  },
  "luminance": 0.27466
}

Semantic roles & 50–950 ramp

primary
#AB70FF
secondary
#E9F7D3
accent
#E60087
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB70FF

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

Preview Lab → · Contrast checker → · Palette generator →

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