#AB70CD#AB70CD

#AB70CD is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.3% C 0.147 H 312.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AB70CD
RGBrgb(171, 112, 205)
HSLhsl(278, 48%, 62%)
HSVhsv(278, 45%, 80%)
CMYKcmyk(16.6%, 45.4%, 0%, 19.6%)
CIE-LABlab(56.74, 40.04, -39.23)
CIE-LCHlch(56.74, 56.05, 315.59°)
OKLaboklab(64.35% 0.0986 -0.109)
OKLCHoklch(64.35% 0.147 312.1)
XYZxyz(33.6063, 24.6547, 60.7343)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70CD #92CD70
analogous
#7D70CD #AB70CD #CD70C0
triadic
#AB70CD #CDAB70 #70CDAB
tetradic
#AB70CD #CD7D70 #92CD70 #70C0CD
square
#AB70CD #CD7D70 #92CD70 #70C0CD
split-complementary
#AB70CD #C0CD70 #70CD7D
monochromatic
#6E3290 #9043BD #AB70CD #C69DDD #E0CBED

Accessibility & contrast

On white

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

On black

5.93
#AB70CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70CD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70CD#FFFFFF#000000##000000
##AB70CD1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#6C89CA
Tritanopia (blue-blind)
#A87E95
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab70cd;
/* rgb */ color: rgb(171, 112, 205);
/* oklch */ color: oklch(64.3% 0.147 312.1);
Tailwind
colors: {
  custom: {
    50: '#c69adc',
    500: '#ab70cd',
    950: '#000000',
  },
}
SCSS
$custom: #ab70cd;
$custom-light: #c69adc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70cd",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 278.065,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64345,
    "c": 0.14695,
    "h": 312.1
  },
  "luminance": 0.24654
}

Semantic roles & 50–950 ramp

primary
#AB70CD
secondary
#C8DDBB
accent
#BB2A5F
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB70CD

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

Preview Lab → · Contrast checker → · Palette generator →

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