#AB70CA#AB70CA

#AB70CA is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.2% C 0.143 H 313.1°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AB70CA
RGBrgb(171, 112, 202)
HSLhsl(279, 46%, 62%)
HSVhsv(279, 45%, 79%)
CMYKcmyk(15.3%, 44.6%, 0%, 20.8%)
CIE-LABlab(56.60, 39.38, -37.74)
CIE-LCHlch(56.60, 54.55, 316.22°)
OKLaboklab(64.19% 0.0981 -0.1047)
OKLCHoklch(64.19% 0.143 313.1)
XYZxyz(33.2476, 24.5113, 58.8454)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70CA #8FCA70
analogous
#7E70CA #AB70CA #CA70BC
triadic
#AB70CA #CAAB70 #70CAAB
tetradic
#AB70CA #CA7E70 #8FCA70 #70BCCA
square
#AB70CA #CA7E70 #8FCA70 #70BCCA
split-complementary
#AB70CA #BCCA70 #70CA7E
monochromatic
#6D348C #9044B8 #AB70CA #C59DDB #DFC9EB

Accessibility & contrast

On white

3.56
#AB70CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#AB70CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70CA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70CA#FFFFFF#000000##000000
##AB70CA1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E84CD
Deuteranopia (green-blind)
#6D89C8
Tritanopia (blue-blind)
#A87D93
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab70ca;
/* rgb */ color: rgb(171, 112, 202);
/* oklch */ color: oklch(64.2% 0.143 313.1);
Tailwind
colors: {
  custom: {
    50: '#c59ada',
    500: '#ab70ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab70ca;
$custom-light: #c59ada;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70ca",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 279.333,
    "s": 45.918,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64193,
    "c": 0.14348,
    "h": 313.1
  },
  "luminance": 0.24511
}

Semantic roles & 50–950 ramp

primary
#AB70CA
secondary
#C6DCBA
accent
#B92C5D
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB70CA

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

Preview Lab → · Contrast checker → · Palette generator →

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