#AB85CB#AB85CB

#AB85CB is a light, moderate violet. Relative luminance 0.297; OKLCH L 67.9% C 0.108 H 308.6°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#AB85CB
RGBrgb(171, 133, 203)
HSLhsl(273, 40%, 66%)
HSVhsv(273, 34%, 80%)
CMYKcmyk(15.8%, 34.5%, 0%, 20.4%)
CIE-LABlab(61.43, 27.86, -30.77)
CIE-LCHlch(61.43, 41.51, 312.16°)
OKLaboklab(67.86% 0.0677 -0.0848)
OKLCHoklch(67.86% 0.108 308.6)
XYZxyz(35.9596, 29.7451, 60.3353)
Luminance0.2974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB85CB #A5CB85
analogous
#8885CB #AB85CB #CB85C8
triadic
#AB85CB #CBAB85 #85CBAB
tetradic
#AB85CB #CB8885 #A5CB85 #85C8CB
square
#AB85CB #CB8885 #A5CB85 #85C8CB
split-complementary
#AB85CB #C8CB85 #85CB88
monochromatic
#6E4096 #8D5AB9 #AB85CB #C9B0DD #E6DBF0

Accessibility & contrast

On white

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

On black

6.95
#AB85CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB85CB
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB85CB#FFFFFF#000000##000000
##AB85CB1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CE
Deuteranopia (green-blind)
#8095C9
Tritanopia (blue-blind)
#A78F9F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab85cb;
/* rgb */ color: rgb(171, 133, 203);
/* oklch */ color: oklch(67.9% 0.108 308.6);
Tailwind
colors: {
  custom: {
    50: '#c5a9db',
    500: '#ab85cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab85cb;
$custom-light: #c5a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab85cb",
  "rgb": {
    "r": 171,
    "g": 133,
    "b": 203
  },
  "hsl": {
    "h": 272.571,
    "s": 40.23,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67859,
    "c": 0.10847,
    "h": 308.6
  },
  "luminance": 0.29745
}

Semantic roles & 50–950 ramp

primary
#AB85CB
secondary
#D5E1CA
accent
#B3326D
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AB85CB

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

Preview Lab → · Contrast checker → · Palette generator →

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