#AB85FB#AB85FB

#AB85FB is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.3% C 0.170 H 296.6°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#AB85FB
RGBrgb(171, 133, 251)
HSLhsl(259, 94%, 75%)
HSVhsv(259, 47%, 98%)
CMYKcmyk(31.9%, 47%, 0%, 1.6%)
CIE-LABlab(63.67, 39.21, -53.92)
CIE-LCHlch(63.67, 66.67, 306.02°)
OKLaboklab(70.28% 0.0762 -0.1518)
OKLCHoklch(70.28% 0.17 296.6)
XYZxyz(42.5904, 32.3975, 95.2575)
Luminance0.3240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB85FB #D5FB85
analogous
#859AFB #AB85FB #E685FB
triadic
#AB85FB #FBAB85 #85FBAB
tetradic
#AB85FB #FB859A #D5FB85 #85FBE6
square
#AB85FB #FB859A #D5FB85 #85FBE6
split-complementary
#AB85FB #FBE685 #9AFB85
monochromatic
#590EF7 #824AF9 #AB85FB #D4C0FD #EBE1FE

Accessibility & contrast

On white

2.81
#AB85FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#AB85FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB85FB
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB85FB#FFFFFF#000000##000000
##AB85FB1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#6699F8
Tritanopia (blue-blind)
#999BB4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab85fb;
/* rgb */ color: rgb(171, 133, 251);
/* oklch */ color: oklch(70.3% 0.170 296.6);
Tailwind
colors: {
  custom: {
    50: '#c7a9fd',
    500: '#ab85fb',
    950: '#000000',
  },
}
SCSS
$custom: #ab85fb;
$custom-light: #c7a9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab85fb",
  "rgb": {
    "r": 171,
    "g": 133,
    "b": 251
  },
  "hsl": {
    "h": 259.322,
    "s": 93.651,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70278,
    "c": 0.16983,
    "h": 296.6
  },
  "luminance": 0.32398
}

Semantic roles & 50–950 ramp

primary
#AB85FB
secondary
#EBF6D5
accent
#E6009C
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AB85FB

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

Preview Lab → · Contrast checker → · Palette generator →

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