#AB70CC#AB70CC

#AB70CC is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.3% C 0.146 H 312.5°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AB70CC
RGBrgb(171, 112, 204)
HSLhsl(278, 47%, 62%)
HSVhsv(278, 45%, 80%)
CMYKcmyk(16.2%, 45.1%, 0%, 20%)
CIE-LABlab(56.69, 39.82, -38.73)
CIE-LCHlch(56.69, 55.55, 315.79°)
OKLaboklab(64.29% 0.0984 -0.1076)
OKLCHoklch(64.29% 0.146 312.5)
XYZxyz(33.4860, 24.6066, 60.1006)
Luminance0.2461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70CC #91CC70
analogous
#7D70CC #AB70CC #CC70BF
triadic
#AB70CC #CCAB70 #70CCAB
tetradic
#AB70CC #CC7D70 #91CC70 #70BFCC
square
#AB70CC #CC7D70 #91CC70 #70BFCC
split-complementary
#AB70CC #BFCC70 #70CC7D
monochromatic
#6E338F #9043BC #AB70CC #C59DDC #E0CAEC

Accessibility & contrast

On white

3.55
#AB70CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#AB70CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70CC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70CC#FFFFFF#000000##000000
##AB70CC1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85CF
Deuteranopia (green-blind)
#6C89C9
Tritanopia (blue-blind)
#A87E94
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab70cc;
/* rgb */ color: rgb(171, 112, 204);
/* oklch */ color: oklch(64.3% 0.146 312.5);
Tailwind
colors: {
  custom: {
    50: '#c69adc',
    500: '#ab70cc',
    950: '#000000',
  },
}
SCSS
$custom: #ab70cc;
$custom-light: #c69adc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70cc",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 204
  },
  "hsl": {
    "h": 278.478,
    "s": 47.423,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64294,
    "c": 0.14579,
    "h": 312.5
  },
  "luminance": 0.24606
}

Semantic roles & 50–950 ramp

primary
#AB70CC
secondary
#C7DDBB
accent
#BB2B5E
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB70CC

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

Preview Lab → · Contrast checker → · Palette generator →

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