#AB85DC#AB85DC

#AB85DC is a light, vivid violet. Relative luminance 0.306; OKLCH L 68.7% C 0.130 H 303.3°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#AB85DC
RGBrgb(171, 133, 220)
HSLhsl(266, 55%, 69%)
HSVhsv(266, 40%, 86%)
CMYKcmyk(22.3%, 39.5%, 0%, 13.7%)
CIE-LABlab(62.17, 31.72, -39.14)
CIE-LCHlch(62.17, 50.38, 309.02°)
OKLaboklab(68.66% 0.0714 -0.1088)
OKLCHoklch(68.66% 0.13 303.3)
XYZxyz(38.0976, 30.6004, 71.5957)
Luminance0.3060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB85DC #B6DC85
analogous
#858BDC #AB85DC #D785DC
triadic
#AB85DC #DCAB85 #85DCAB
tetradic
#AB85DC #DC858B #B6DC85 #85DCD7
square
#AB85DC #DC858B #B6DC85 #85DCD7
split-complementary
#AB85DC #DCD785 #8BDC85
monochromatic
#6B33B3 #8A55CE #AB85DC #CCB5EA #ECE4F7

Accessibility & contrast

On white

2.95
#AB85DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#AB85DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB85DC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB85DC#FFFFFF#000000##000000
##AB85DC1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7095DF
Deuteranopia (green-blind)
#7896DA
Tritanopia (blue-blind)
#A393A6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab85dc;
/* rgb */ color: rgb(171, 133, 220);
/* oklch */ color: oklch(68.7% 0.130 303.3);
Tailwind
colors: {
  custom: {
    50: '#c5a9e7',
    500: '#ab85dc',
    950: '#000000',
  },
}
SCSS
$custom: #ab85dc;
$custom-light: #c5a9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab85dc",
  "rgb": {
    "r": 171,
    "g": 133,
    "b": 220
  },
  "hsl": {
    "h": 266.207,
    "s": 55.414,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68658,
    "c": 0.13017,
    "h": 303.3
  },
  "luminance": 0.306
}

Semantic roles & 50–950 ramp

primary
#AB85DC
secondary
#E0EBD2
accent
#C3237D
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AB85DC

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

Preview Lab → · Contrast checker → · Palette generator →

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