#AB85CC#AB85CC

#AB85CC is a light, moderate violet. Relative luminance 0.298; OKLCH L 67.9% C 0.110 H 308.2°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#AB85CC
RGBrgb(171, 133, 204)
HSLhsl(272, 41%, 66%)
HSVhsv(272, 35%, 80%)
CMYKcmyk(16.2%, 34.8%, 0%, 20%)
CIE-LABlab(61.48, 28.08, -31.26)
CIE-LCHlch(61.48, 42.03, 311.93°)
OKLaboklab(67.9% 0.0679 -0.0862)
OKLCHoklch(67.9% 0.11 308.2)
XYZxyz(36.0792, 29.7930, 60.9650)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB85CC #A6CC85
analogous
#8785CC #AB85CC #CC85C9
triadic
#AB85CC #CCAB85 #85CCAB
tetradic
#AB85CC #CC8785 #A6CC85 #85C9CC
square
#AB85CC #CC8785 #A6CC85 #85C9CC
split-complementary
#AB85CC #C9CC85 #85CC87
monochromatic
#6E3F97 #8D5ABA #AB85CC #C9B0DE #E6DBF0

Accessibility & contrast

On white

3.02
#AB85CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#AB85CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB85CC
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB85CC#FFFFFF#000000##000000
##AB85CC1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793CF
Deuteranopia (green-blind)
#7F95CA
Tritanopia (blue-blind)
#A78F9F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab85cc;
/* rgb */ color: rgb(171, 133, 204);
/* oklch */ color: oklch(67.9% 0.110 308.2);
Tailwind
colors: {
  custom: {
    50: '#c5a9db',
    500: '#ab85cc',
    950: '#000000',
  },
}
SCSS
$custom: #ab85cc;
$custom-light: #c5a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab85cc",
  "rgb": {
    "r": 171,
    "g": 133,
    "b": 204
  },
  "hsl": {
    "h": 272.113,
    "s": 41.04,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67904,
    "c": 0.10974,
    "h": 308.2
  },
  "luminance": 0.29793
}

Semantic roles & 50–950 ramp

primary
#AB85CC
secondary
#D6E2CB
accent
#B4316E
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AB85CC

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

Preview Lab → · Contrast checker → · Palette generator →

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