#AB70FA#AB70FA

#AB70FA is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.9% C 0.200 H 300.9°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AB70FA
RGBrgb(171, 112, 250)
HSLhsl(266, 93%, 71%)
HSVhsv(266, 55%, 98%)
CMYKcmyk(31.6%, 55.2%, 0%, 2%)
CIE-LABlab(59.11, 50.44, -60.64)
CIE-LCHlch(59.11, 78.88, 309.75°)
OKLaboklab(66.88% 0.1025 -0.1715)
OKLCHoklch(66.88% 0.2 300.9)
XYZxyz(39.8400, 27.1482, 93.5652)
Luminance0.2715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70FA #BFFA70
analogous
#707AFA #AB70FA #F070FA
triadic
#AB70FA #FAAB70 #70FAAB
tetradic
#AB70FA #FA707A #BFFA70 #70FAF0
square
#AB70FA #FA707A #BFFA70 #70FAF0
split-complementary
#AB70FA #FAF070 #7AFA70
monochromatic
#6808E8 #8835F8 #AB70FA #CEABFC #EEE1FE

Accessibility & contrast

On white

3.27
#AB70FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#AB70FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70FA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70FA#FFFFFF#000000##000000
##AB70FA1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#368EFF
Deuteranopia (green-blind)
#4B8DF7
Tritanopia (blue-blind)
#9B8BAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab70fa;
/* rgb */ color: rgb(171, 112, 250);
/* oklch */ color: oklch(66.9% 0.200 300.9);
Tailwind
colors: {
  custom: {
    50: '#c89bfd',
    500: '#ab70fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab70fa;
$custom-light: #c89bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70fa",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 250
  },
  "hsl": {
    "h": 265.652,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66875,
    "c": 0.19975,
    "h": 300.9
  },
  "luminance": 0.27148
}

Semantic roles & 50–950 ramp

primary
#AB70FA
secondary
#E6F5D1
accent
#E60083
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AB70FA

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

Preview Lab → · Contrast checker → · Palette generator →

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