#AB6FDD#AB6FDD

#AB6FDD is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.0% C 0.167 H 307.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AB6FDD
RGBrgb(171, 111, 221)
HSLhsl(273, 62%, 65%)
HSVhsv(273, 50%, 87%)
CMYKcmyk(22.6%, 49.8%, 0%, 13.3%)
CIE-LABlab(57.32, 44.16, -47.35)
CIE-LCHlch(57.32, 64.74, 313.00°)
OKLaboklab(65.04% 0.102 -0.1326)
OKLCHoklch(65.04% 0.167 307.6)
XYZxyz(35.5276, 25.2477, 71.3943)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FDD #A1DD6F
analogous
#746FDD #AB6FDD #DD6FD8
triadic
#AB6FDD #DDAB6F #6FDDAB
tetradic
#AB6FDD #DD746F #A1DD6F #6FD8DD
square
#AB6FDD #DD746F #A1DD6F #6FD8DD
split-complementary
#AB6FDD #D8DD6F #6FDD74
monochromatic
#6F28AA #8E3DD1 #AB6FDD #C8A1E9 #E5D2F4

Accessibility & contrast

On white

3.47
#AB6FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#AB6FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FDD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FDD#FFFFFF#000000##000000
##AB6FDD1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5087E1
Deuteranopia (green-blind)
#628ADA
Tritanopia (blue-blind)
#A4829C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab6fdd;
/* rgb */ color: rgb(171, 111, 221);
/* oklch */ color: oklch(65.0% 0.167 307.6);
Tailwind
colors: {
  custom: {
    50: '#c69ae8',
    500: '#ab6fdd',
    950: '#000000',
  },
}
SCSS
$custom: #ab6fdd;
$custom-light: #c69ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6fdd",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 221
  },
  "hsl": {
    "h": 272.727,
    "s": 61.798,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65035,
    "c": 0.16726,
    "h": 307.6
  },
  "luminance": 0.25247
}

Semantic roles & 50–950 ramp

primary
#AB6FDD
secondary
#D2E7C1
accent
#CA1C6B
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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