#AB70FE#AB70FE

#AB70FE is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.1% C 0.204 H 300.1°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AB70FE
RGBrgb(171, 112, 254)
HSLhsl(265, 99%, 72%)
HSVhsv(265, 56%, 100%)
CMYKcmyk(32.7%, 55.9%, 0%, 0.4%)
CIE-LABlab(59.34, 51.41, -62.47)
CIE-LCHlch(59.34, 80.91, 309.45°)
OKLaboklab(67.12% 0.1026 -0.1768)
OKLCHoklch(67.12% 0.204 300.1)
XYZxyz(40.4739, 27.4017, 96.9035)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70FE #C3FE70
analogous
#707CFE #AB70FE #F270FE
triadic
#AB70FE #FEAB70 #70FEAB
tetradic
#AB70FE #FE707C #C3FE70 #70FEF2
square
#AB70FE #FE707C #C3FE70 #70FEF2
split-complementary
#AB70FE #FEF270 #7CFE70
monochromatic
#6602F2 #8733FE #AB70FE #CFADFE #EDE1FF

Accessibility & contrast

On white

3.24
#AB70FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#AB70FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70FE
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70FE#FFFFFF#000000##000000
##AB70FE1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#308EFF
Deuteranopia (green-blind)
#478EFB
Tritanopia (blue-blind)
#9A8DAC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab70fe;
/* rgb */ color: rgb(171, 112, 254);
/* oklch */ color: oklch(67.1% 0.204 300.1);
Tailwind
colors: {
  custom: {
    50: '#c89bff',
    500: '#ab70fe',
    950: '#000000',
  },
}
SCSS
$custom: #ab70fe;
$custom-light: #c89bff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70fe",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 264.93,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67121,
    "c": 0.20442,
    "h": 300.1
  },
  "luminance": 0.27402
}

Semantic roles & 50–950 ramp

primary
#AB70FE
secondary
#E8F7D3
accent
#E60086
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB70FE

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

Preview Lab → · Contrast checker → · Palette generator →

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