#AB84CC#AB84CC

#AB84CC is a light, moderate violet. Relative luminance 0.295; OKLCH L 67.7% C 0.111 H 308.5°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#AB84CC
RGBrgb(171, 132, 204)
HSLhsl(273, 41%, 66%)
HSVhsv(273, 35%, 80%)
CMYKcmyk(16.2%, 35.3%, 0%, 20%)
CIE-LABlab(61.24, 28.65, -31.63)
CIE-LCHlch(61.24, 42.68, 312.17°)
OKLaboklab(67.72% 0.0694 -0.0872)
OKLCHoklch(67.72% 0.111 308.5)
XYZxyz(35.9429, 29.5204, 60.9196)
Luminance0.2952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB84CC #A5CC84
analogous
#8784CC #AB84CC #CC84C9
triadic
#AB84CC #CCAB84 #84CCAB
tetradic
#AB84CC #CC8784 #A5CC84 #84C9CC
square
#AB84CC #CC8784 #A5CC84 #84C9CC
split-complementary
#AB84CC #C9CC84 #84CC87
monochromatic
#6E3F97 #8D59BA #AB84CC #C9AFDE #E6DBF0

Accessibility & contrast

On white

3.04
#AB84CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#AB84CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB84CC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB84CC#FFFFFF#000000##000000
##AB84CC1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692CF
Deuteranopia (green-blind)
#7F94CA
Tritanopia (blue-blind)
#A78E9F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab84cc;
/* rgb */ color: rgb(171, 132, 204);
/* oklch */ color: oklch(67.7% 0.111 308.5);
Tailwind
colors: {
  custom: {
    50: '#c5a8db',
    500: '#ab84cc',
    950: '#000000',
  },
}
SCSS
$custom: #ab84cc;
$custom-light: #c5a8db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab84cc",
  "rgb": {
    "r": 171,
    "g": 132,
    "b": 204
  },
  "hsl": {
    "h": 272.5,
    "s": 41.379,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67724,
    "c": 0.11147,
    "h": 308.5
  },
  "luminance": 0.2952
}

Semantic roles & 50–950 ramp

primary
#AB84CC
secondary
#D5E2CA
accent
#B4316D
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AB84CC

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

Preview Lab → · Contrast checker → · Palette generator →

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