#AB70CB#AB70CB

#AB70CB is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.2% C 0.145 H 312.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AB70CB
RGBrgb(171, 112, 203)
HSLhsl(279, 47%, 62%)
HSVhsv(279, 45%, 80%)
CMYKcmyk(15.8%, 44.8%, 0%, 20.4%)
CIE-LABlab(56.64, 39.60, -38.24)
CIE-LCHlch(56.64, 55.05, 316.00°)
OKLaboklab(64.24% 0.0982 -0.1061)
OKLCHoklch(64.24% 0.145 312.8)
XYZxyz(33.3664, 24.5588, 59.4709)
Luminance0.2456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70CB #90CB70
analogous
#7E70CB #AB70CB #CB70BE
triadic
#AB70CB #CBAB70 #70CBAB
tetradic
#AB70CB #CB7E70 #90CB70 #70BECB
square
#AB70CB #CB7E70 #90CB70 #70BECB
split-complementary
#AB70CB #BECB70 #70CB7E
monochromatic
#6E338D #9044BA #AB70CB #C59DDB #E0CAEC

Accessibility & contrast

On white

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

On black

5.91
#AB70CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70CB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70CB#FFFFFF#000000##000000
##AB70CB1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab70cb;
/* rgb */ color: rgb(171, 112, 203);
/* oklch */ color: oklch(64.2% 0.145 312.8);
Tailwind
colors: {
  custom: {
    50: '#c69adb',
    500: '#ab70cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab70cb;
$custom-light: #c69adb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70cb",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 278.901,
    "s": 46.667,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64244,
    "c": 0.14463,
    "h": 312.8
  },
  "luminance": 0.24558
}

Semantic roles & 50–950 ramp

primary
#AB70CB
secondary
#C6DCBB
accent
#BA2C5E
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB70CB

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

Preview Lab → · Contrast checker → · Palette generator →

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