#AB85D7#AB85D7

#AB85D7 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.4% C 0.124 H 304.7°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#AB85D7
RGBrgb(171, 133, 215)
HSLhsl(268, 51%, 68%)
HSVhsv(268, 38%, 84%)
CMYKcmyk(20.5%, 38.1%, 0%, 15.7%)
CIE-LABlab(61.95, 30.57, -36.70)
CIE-LCHlch(61.95, 47.76, 309.79°)
OKLaboklab(68.42% 0.0704 -0.1018)
OKLCHoklch(68.42% 0.124 304.7)
XYZxyz(37.4453, 30.3394, 68.1602)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB85D7 #B1D785
analogous
#8588D7 #AB85D7 #D485D7
triadic
#AB85D7 #D7AB85 #85D7AB
tetradic
#AB85D7 #D78588 #B1D785 #85D7D4
square
#AB85D7 #D78588 #B1D785 #85D7D4
split-complementary
#AB85D7 #D7D485 #88D785
monochromatic
#6D38AA #8B57C8 #AB85D7 #CBB3E6 #EAE1F5

Accessibility & contrast

On white

2.97
#AB85D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#AB85D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB85D7
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB85D7#FFFFFF#000000##000000
##AB85D71.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7295DA
Deuteranopia (green-blind)
#7B96D5
Tritanopia (blue-blind)
#A492A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab85d7;
/* rgb */ color: rgb(171, 133, 215);
/* oklch */ color: oklch(68.4% 0.124 304.7);
Tailwind
colors: {
  custom: {
    50: '#c5a9e3',
    500: '#ab85d7',
    950: '#000000',
  },
}
SCSS
$custom: #ab85d7;
$custom-light: #c5a9e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab85d7",
  "rgb": {
    "r": 171,
    "g": 133,
    "b": 215
  },
  "hsl": {
    "h": 267.805,
    "s": 50.617,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68416,
    "c": 0.12376,
    "h": 304.7
  },
  "luminance": 0.30339
}

Semantic roles & 50–950 ramp

primary
#AB85D7
secondary
#DDE8CF
accent
#BE2878
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AB85D7

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

Preview Lab → · Contrast checker → · Palette generator →

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