#AB70CE#AB70CE

#AB70CE is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.4% C 0.148 H 311.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AB70CE
RGBrgb(171, 112, 206)
HSLhsl(278, 49%, 62%)
HSVhsv(278, 46%, 81%)
CMYKcmyk(17%, 45.6%, 0%, 19.2%)
CIE-LABlab(56.79, 40.26, -39.72)
CIE-LCHlch(56.79, 56.55, 315.39°)
OKLaboklab(64.4% 0.0987 -0.1104)
OKLCHoklch(64.4% 0.148 311.8)
XYZxyz(33.7274, 24.7032, 61.3720)
Luminance0.2470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70CE #93CE70
analogous
#7C70CE #AB70CE #CE70C2
triadic
#AB70CE #CEAB70 #70CEAB
tetradic
#AB70CE #CE7C70 #93CE70 #70C2CE
square
#AB70CE #CE7C70 #93CE70 #70C2CE
split-complementary
#AB70CE #C2CE70 #70CE7C
monochromatic
#6E3292 #9042BE #AB70CE #C69EDE #E1CBED

Accessibility & contrast

On white

3.54
#AB70CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#AB70CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70CE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70CE#FFFFFF#000000##000000
##AB70CE1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85D1
Deuteranopia (green-blind)
#6B8ACB
Tritanopia (blue-blind)
#A77E95
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab70ce;
/* rgb */ color: rgb(171, 112, 206);
/* oklch */ color: oklch(64.4% 0.148 311.8);
Tailwind
colors: {
  custom: {
    50: '#c69add',
    500: '#ab70ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab70ce;
$custom-light: #c69add;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70ce",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 206
  },
  "hsl": {
    "h": 277.66,
    "s": 48.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64396,
    "c": 0.14811,
    "h": 311.8
  },
  "luminance": 0.24702
}

Semantic roles & 50–950 ramp

primary
#AB70CE
secondary
#C9DEBC
accent
#BC2960
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB70CE

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

Preview Lab → · Contrast checker → · Palette generator →

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