#AB70FD#AB70FD

#AB70FD is a light, highly saturated violet. Relative luminance 0.273; OKLCH L 67.1% C 0.203 H 300.3°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AB70FD
RGBrgb(171, 112, 253)
HSLhsl(265, 97%, 72%)
HSVhsv(265, 56%, 99%)
CMYKcmyk(32.4%, 55.7%, 0%, 0.8%)
CIE-LABlab(59.29, 51.16, -62.02)
CIE-LCHlch(59.29, 80.40, 309.52°)
OKLaboklab(67.06% 0.1025 -0.1755)
OKLCHoklch(67.06% 0.203 300.3)
XYZxyz(40.3141, 27.3379, 96.0623)
Luminance0.2734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70FD #C2FD70
analogous
#707CFD #AB70FD #F170FD
triadic
#AB70FD #FDAB70 #70FDAB
tetradic
#AB70FD #FD707C #C2FD70 #70FDF1
square
#AB70FD #FD707C #C2FD70 #70FDF1
split-complementary
#AB70FD #FDF170 #7CFD70
monochromatic
#6603EF #8834FC #AB70FD #CEACFE #EDE1FF

Accessibility & contrast

On white

3.25
#AB70FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#AB70FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70FD
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70FD#FFFFFF#000000##000000
##AB70FD1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#328EFF
Deuteranopia (green-blind)
#488EFA
Tritanopia (blue-blind)
#9A8CAC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab70fd;
/* rgb */ color: rgb(171, 112, 253);
/* oklch */ color: oklch(67.1% 0.203 300.3);
Tailwind
colors: {
  custom: {
    50: '#c89bff',
    500: '#ab70fd',
    950: '#000000',
  },
}
SCSS
$custom: #ab70fd;
$custom-light: #c89bff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70fd",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 253
  },
  "hsl": {
    "h": 265.106,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67059,
    "c": 0.20326,
    "h": 300.3
  },
  "luminance": 0.27338
}

Semantic roles & 50–950 ramp

primary
#AB70FD
secondary
#E7F7D2
accent
#E60085
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB70FD

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

Preview Lab → · Contrast checker → · Palette generator →

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