#AB85DF#AB85DF

#AB85DF is a light, vivid violet. Relative luminance 0.308; OKLCH L 68.8% C 0.134 H 302.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#AB85DF
RGBrgb(171, 133, 223)
HSLhsl(265, 58%, 70%)
HSVhsv(265, 40%, 87%)
CMYKcmyk(23.3%, 40.4%, 0%, 12.5%)
CIE-LABlab(62.31, 32.42, -40.60)
CIE-LCHlch(62.31, 51.96, 308.61°)
OKLaboklab(68.81% 0.072 -0.1131)
OKLCHoklch(68.81% 0.134 302.5)
XYZxyz(38.4985, 30.7607, 73.7069)
Luminance0.3076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB85DF #B9DF85
analogous
#858CDF #AB85DF #D885DF
triadic
#AB85DF #DFAB85 #85DFAB
tetradic
#AB85DF #DF858C #B9DF85 #85DFD8
square
#AB85DF #DF858C #B9DF85 #85DFD8
split-complementary
#AB85DF #DFD885 #8CDF85
monochromatic
#6A31B9 #8A55D2 #AB85DF #CCB5EC #EEE6F8

Accessibility & contrast

On white

2.94
#AB85DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#AB85DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB85DF
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB85DF#FFFFFF#000000##000000
##AB85DF1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E2
Deuteranopia (green-blind)
#7796DD
Tritanopia (blue-blind)
#A294A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab85df;
/* rgb */ color: rgb(171, 133, 223);
/* oklch */ color: oklch(68.8% 0.134 302.5);
Tailwind
colors: {
  custom: {
    50: '#c5a9e9',
    500: '#ab85df',
    950: '#000000',
  },
}
SCSS
$custom: #ab85df;
$custom-light: #c5a9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab85df",
  "rgb": {
    "r": 171,
    "g": 133,
    "b": 223
  },
  "hsl": {
    "h": 265.333,
    "s": 58.442,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68806,
    "c": 0.13402,
    "h": 302.5
  },
  "luminance": 0.30761
}

Semantic roles & 50–950 ramp

primary
#AB85DF
secondary
#E2EDD3
accent
#C61F80
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AB85DF

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

Preview Lab → · Contrast checker → · Palette generator →

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