#AB6FDB#AB6FDB

#AB6FDB is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.9% C 0.165 H 308.1°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AB6FDB
RGBrgb(171, 111, 219)
HSLhsl(273, 60%, 65%)
HSVhsv(273, 49%, 86%)
CMYKcmyk(21.9%, 49.3%, 0%, 14.1%)
CIE-LABlab(57.21, 43.70, -46.38)
CIE-LCHlch(57.21, 63.73, 313.30°)
OKLaboklab(64.93% 0.1018 -0.1298)
OKLCHoklch(64.93% 0.165 308.1)
XYZxyz(35.2627, 25.1417, 69.9993)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FDB #9FDB6F
analogous
#756FDB #AB6FDB #DB6FD5
triadic
#AB6FDB #DBAB6F #6FDBAB
tetradic
#AB6FDB #DB756F #9FDB6F #6FD5DB
square
#AB6FDB #DB756F #9FDB6F #6FD5DB
split-complementary
#AB6FDB #D5DB6F #6FDB75
monochromatic
#6F2AA6 #8E3ECF #AB6FDB #C8A0E7 #E4D1F3

Accessibility & contrast

On white

3.48
#AB6FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#AB6FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FDB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FDB#FFFFFF#000000##000000
##AB6FDB1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5287DF
Deuteranopia (green-blind)
#638AD8
Tritanopia (blue-blind)
#A4819B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab6fdb;
/* rgb */ color: rgb(171, 111, 219);
/* oklch */ color: oklch(64.9% 0.165 308.1);
Tailwind
colors: {
  custom: {
    50: '#c69ae6',
    500: '#ab6fdb',
    950: '#000000',
  },
}
SCSS
$custom: #ab6fdb;
$custom-light: #c69ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6fdb",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 219
  },
  "hsl": {
    "h": 273.333,
    "s": 60,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64925,
    "c": 0.16492,
    "h": 308.1
  },
  "luminance": 0.25141
}

Semantic roles & 50–950 ramp

primary
#AB6FDB
secondary
#D1E5C0
accent
#C81E69
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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