#AB6FDC#AB6FDC

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

Color values

HEX#AB6FDC
RGBrgb(171, 111, 220)
HSLhsl(273, 61%, 65%)
HSVhsv(273, 50%, 86%)
CMYKcmyk(22.3%, 49.5%, 0%, 13.7%)
CIE-LABlab(57.26, 43.93, -46.87)
CIE-LCHlch(57.26, 64.23, 313.15°)
OKLaboklab(64.98% 0.1019 -0.1312)
OKLCHoklch(64.98% 0.166 307.8)
XYZxyz(35.3947, 25.1945, 70.6947)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FDC #A0DC6F
analogous
#756FDC #AB6FDC #DC6FD6
triadic
#AB6FDC #DCAB6F #6FDCAB
tetradic
#AB6FDC #DC756F #A0DC6F #6FD6DC
square
#AB6FDC #DC756F #A0DC6F #6FD6DC
split-complementary
#AB6FDC #D6DC6F #6FDC75
monochromatic
#6F29A8 #8E3ED0 #AB6FDC #C8A0E8 #E4D1F4

Accessibility & contrast

On white

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

On black

6.04
#AB6FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FDC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FDC#FFFFFF#000000##000000
##AB6FDC1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187E0
Deuteranopia (green-blind)
#628AD9
Tritanopia (blue-blind)
#A4829B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab6fdc;
/* rgb */ color: rgb(171, 111, 220);
/* oklch */ color: oklch(65.0% 0.166 307.8);
Tailwind
colors: {
  custom: {
    50: '#c69ae7',
    500: '#ab6fdc',
    950: '#000000',
  },
}
SCSS
$custom: #ab6fdc;
$custom-light: #c69ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6fdc",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 220
  },
  "hsl": {
    "h": 273.028,
    "s": 60.894,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6498,
    "c": 0.16609,
    "h": 307.8
  },
  "luminance": 0.25194
}

Semantic roles & 50–950 ramp

primary
#AB6FDC
secondary
#D2E6C1
accent
#C91D6A
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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