#AB85FE#AB85FE

#AB85FE is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.4% C 0.174 H 296.1°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#AB85FE
RGBrgb(171, 133, 254)
HSLhsl(259, 98%, 76%)
HSVhsv(259, 48%, 100%)
CMYKcmyk(32.7%, 47.6%, 0%, 0.4%)
CIE-LABlab(63.83, 39.96, -55.32)
CIE-LCHlch(63.83, 68.24, 305.84°)
OKLaboklab(70.45% 0.0765 -0.1559)
OKLCHoklch(70.45% 0.174 296.1)
XYZxyz(43.0670, 32.5881, 97.7678)
Luminance0.3259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB85FE #D8FE85
analogous
#859BFE #AB85FE #E785FE
triadic
#AB85FE #FEAB85 #85FEAB
tetradic
#AB85FE #FE859B #D8FE85 #85FEE7
square
#AB85FE #FE859B #D8FE85 #85FEE7
split-complementary
#AB85FE #FEE785 #9BFE85
monochromatic
#570CFD #8148FE #AB85FE #D5C2FE #EAE1FF

Accessibility & contrast

On white

2.79
#AB85FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#AB85FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB85FE
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB85FE#FFFFFF#000000##000000
##AB85FE1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#6399FB
Tritanopia (blue-blind)
#989CB6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab85fe;
/* rgb */ color: rgb(171, 133, 254);
/* oklch */ color: oklch(70.4% 0.174 296.1);
Tailwind
colors: {
  custom: {
    50: '#c7a9ff',
    500: '#ab85fe',
    950: '#000000',
  },
}
SCSS
$custom: #ab85fe;
$custom-light: #c7a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab85fe",
  "rgb": {
    "r": 171,
    "g": 133,
    "b": 254
  },
  "hsl": {
    "h": 258.843,
    "s": 98.374,
    "l": 75.882
  },
  "oklch": {
    "l": 0.70445,
    "c": 0.17364,
    "h": 296.1
  },
  "luminance": 0.32589
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB85FE

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

Preview Lab → · Contrast checker → · Palette generator →

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