#AB70F5#AB70F5

#AB70F5 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.6% C 0.194 H 301.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AB70F5
RGBrgb(171, 112, 245)
HSLhsl(267, 87%, 70%)
HSVhsv(267, 54%, 96%)
CMYKcmyk(30.2%, 54.3%, 0%, 3.9%)
CIE-LABlab(58.82, 49.24, -58.33)
CIE-LCHlch(58.82, 76.33, 310.17°)
OKLaboklab(66.57% 0.1023 -0.1647)
OKLCHoklch(66.57% 0.194 301.9)
XYZxyz(39.0664, 26.8388, 89.4908)
Luminance0.2684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70F5 #BAF570
analogous
#7077F5 #AB70F5 #EE70F5
triadic
#AB70F5 #F5AB70 #70F5AB
tetradic
#AB70F5 #F57077 #BAF570 #70F5EE
square
#AB70F5 #F57077 #BAF570 #70F5EE
split-complementary
#AB70F5 #F5EE70 #77F570
monochromatic
#6A0FDB #8937F1 #AB70F5 #CDA9F9 #EEE2FD

Accessibility & contrast

On white

3.30
#AB70F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#AB70F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70F5
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70F5#FFFFFF#000000##000000
##AB70F51.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8DF9
Deuteranopia (green-blind)
#508DF2
Tritanopia (blue-blind)
#9D8AA8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab70f5;
/* rgb */ color: rgb(171, 112, 245);
/* oklch */ color: oklch(66.6% 0.194 301.9);
Tailwind
colors: {
  custom: {
    50: '#c89bf9',
    500: '#ab70f5',
    950: '#000000',
  },
}
SCSS
$custom: #ab70f5;
$custom-light: #c89bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70f5",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 266.617,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.66572,
    "c": 0.1939,
    "h": 301.9
  },
  "luminance": 0.26839
}

Semantic roles & 50–950 ramp

primary
#AB70F5
secondary
#E2F3CE
accent
#E3027F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB70F5

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

Preview Lab → · Contrast checker → · Palette generator →

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