#AB70F3#AB70F3

#AB70F3 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.5% C 0.192 H 302.3°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AB70F3
RGBrgb(171, 112, 243)
HSLhsl(267, 85%, 70%)
HSVhsv(267, 54%, 95%)
CMYKcmyk(29.6%, 53.9%, 0%, 4.7%)
CIE-LABlab(58.71, 48.76, -57.41)
CIE-LCHlch(58.71, 75.32, 310.34°)
OKLaboklab(66.45% 0.1022 -0.162)
OKLCHoklch(66.45% 0.192 302.3)
XYZxyz(38.7627, 26.7173, 87.8915)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70F3 #B8F370
analogous
#7077F3 #AB70F3 #ED70F3
triadic
#AB70F3 #F3AB70 #70F3AB
tetradic
#AB70F3 #F37077 #B8F370 #70F3ED
square
#AB70F3 #F37077 #B8F370 #70F3ED
split-complementary
#AB70F3 #F3ED70 #77F370
monochromatic
#6B12D7 #8A38EE #AB70F3 #CCA8F8 #EDE1FC

Accessibility & contrast

On white

3.31
#AB70F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#AB70F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70F3
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70F3#FFFFFF#000000##000000
##AB70F31.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8CF7
Deuteranopia (green-blind)
#528DF0
Tritanopia (blue-blind)
#9D89A7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab70f3;
/* rgb */ color: rgb(171, 112, 243);
/* oklch */ color: oklch(66.5% 0.192 302.3);
Tailwind
colors: {
  custom: {
    50: '#c79bf8',
    500: '#ab70f3',
    950: '#000000',
  },
}
SCSS
$custom: #ab70f3;
$custom-light: #c79bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70f3",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 243
  },
  "hsl": {
    "h": 267.023,
    "s": 84.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66452,
    "c": 0.19155,
    "h": 302.3
  },
  "luminance": 0.26717
}

Semantic roles & 50–950 ramp

primary
#AB70F3
secondary
#E1F2CD
accent
#E1057E
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB70F3

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

Preview Lab → · Contrast checker → · Palette generator →

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