#AB70EF#AB70EF

#AB70EF is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.2% C 0.187 H 303.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AB70EF
RGBrgb(171, 112, 239)
HSLhsl(268, 80%, 69%)
HSVhsv(268, 53%, 94%)
CMYKcmyk(28.5%, 53.1%, 0%, 6.3%)
CIE-LABlab(58.49, 47.81, -55.54)
CIE-LCHlch(58.49, 73.28, 310.72°)
OKLaboklab(66.22% 0.1021 -0.1565)
OKLCHoklch(66.22% 0.187 303.1)
XYZxyz(38.1653, 26.4783, 84.7448)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70EF #B4EF70
analogous
#7075EF #AB70EF #EB70EF
triadic
#AB70EF #EFAB70 #70EFAB
tetradic
#AB70EF #EF7075 #B4EF70 #70EFEB
square
#AB70EF #EF7075 #B4EF70 #70EFEB
split-complementary
#AB70EF #EFEB70 #75EF70
monochromatic
#6C17CE #8B39E9 #AB70EF #CBA7F5 #ECDEFB

Accessibility & contrast

On white

3.34
#AB70EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#AB70EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70EF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70EF#FFFFFF#000000##000000
##AB70EF1.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#438BF3
Deuteranopia (green-blind)
#568CEC
Tritanopia (blue-blind)
#9F88A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab70ef;
/* rgb */ color: rgb(171, 112, 239);
/* oklch */ color: oklch(66.2% 0.187 303.1);
Tailwind
colors: {
  custom: {
    50: '#c79bf5',
    500: '#ab70ef',
    950: '#000000',
  },
}
SCSS
$custom: #ab70ef;
$custom-light: #c79bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70ef",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 267.874,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66215,
    "c": 0.18685,
    "h": 303.1
  },
  "luminance": 0.26478
}

Semantic roles & 50–950 ramp

primary
#AB70EF
secondary
#DFF0CB
accent
#DC097A
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB70EF

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

Preview Lab → · Contrast checker → · Palette generator →

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