#AB85FD#AB85FD

#AB85FD is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.4% C 0.172 H 296.3°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#AB85FD
RGBrgb(171, 133, 253)
HSLhsl(259, 97%, 76%)
HSVhsv(259, 47%, 99%)
CMYKcmyk(32.4%, 47.4%, 0%, 0.8%)
CIE-LABlab(63.77, 39.71, -54.85)
CIE-LCHlch(63.77, 67.72, 305.90°)
OKLaboklab(70.39% 0.0764 -0.1545)
OKLCHoklch(70.39% 0.172 296.3)
XYZxyz(42.9073, 32.5242, 96.9267)
Luminance0.3252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB85FD #D7FD85
analogous
#859BFD #AB85FD #E785FD
triadic
#AB85FD #FDAB85 #85FDAB
tetradic
#AB85FD #FD859B #D7FD85 #85FDE7
square
#AB85FD #FD859B #D7FD85 #85FDE7
split-complementary
#AB85FD #FDE785 #9BFD85
monochromatic
#580DFB #8249FC #AB85FD #D4C1FE #EAE1FF

Accessibility & contrast

On white

2.80
#AB85FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#AB85FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB85FD
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB85FD#FFFFFF#000000##000000
##AB85FD1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#6499FA
Tritanopia (blue-blind)
#999CB5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab85fd;
/* rgb */ color: rgb(171, 133, 253);
/* oklch */ color: oklch(70.4% 0.172 296.3);
Tailwind
colors: {
  custom: {
    50: '#c7a9fe',
    500: '#ab85fd',
    950: '#000000',
  },
}
SCSS
$custom: #ab85fd;
$custom-light: #c7a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab85fd",
  "rgb": {
    "r": 171,
    "g": 133,
    "b": 253
  },
  "hsl": {
    "h": 259,
    "s": 96.774,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70389,
    "c": 0.17238,
    "h": 296.3
  },
  "luminance": 0.32525
}

Semantic roles & 50–950 ramp

primary
#AB85FD
secondary
#ECF7D4
accent
#E6009D
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AB85FD

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

Preview Lab → · Contrast checker → · Palette generator →

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