#AB70EE#AB70EE

#AB70EE is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.2% C 0.186 H 303.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AB70EE
RGBrgb(171, 112, 238)
HSLhsl(268, 79%, 69%)
HSVhsv(268, 53%, 93%)
CMYKcmyk(28.2%, 52.9%, 0%, 6.7%)
CIE-LABlab(58.43, 47.57, -55.07)
CIE-LCHlch(58.43, 72.77, 310.82°)
OKLaboklab(66.16% 0.102 -0.1551)
OKLCHoklch(66.16% 0.186 303.3)
XYZxyz(38.0179, 26.4194, 83.9689)
Luminance0.2642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70EE #B3EE70
analogous
#7074EE #AB70EE #EA70EE
triadic
#AB70EE #EEAB70 #70EEAB
tetradic
#AB70EE #EE7074 #B3EE70 #70EEEA
square
#AB70EE #EE7074 #B3EE70 #70EEEA
split-complementary
#AB70EE #EEEA70 #74EE70
monochromatic
#6C18CB #8B39E7 #AB70EE #CBA7F5 #EBDDFB

Accessibility & contrast

On white

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

On black

6.28
#AB70EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70EE
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70EE#FFFFFF#000000##000000
##AB70EE1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#448BF2
Deuteranopia (green-blind)
#568CEB
Tritanopia (blue-blind)
#9F88A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab70ee;
/* rgb */ color: rgb(171, 112, 238);
/* oklch */ color: oklch(66.2% 0.186 303.3);
Tailwind
colors: {
  custom: {
    50: '#c79bf4',
    500: '#ab70ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab70ee;
$custom-light: #c79bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70ee",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 238
  },
  "hsl": {
    "h": 268.095,
    "s": 78.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66156,
    "c": 0.18568,
    "h": 303.3
  },
  "luminance": 0.26419
}

Semantic roles & 50–950 ramp

primary
#AB70EE
secondary
#DEF0CA
accent
#DB0A79
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB70EE

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

Preview Lab → · Contrast checker → · Palette generator →

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