#AB6BFD#AB6BFD

#AB6BFD is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.3% C 0.210 H 301.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AB6BFD
RGBrgb(171, 107, 253)
HSLhsl(266, 97%, 71%)
HSVhsv(266, 58%, 99%)
CMYKcmyk(32.4%, 57.7%, 0%, 0.8%)
CIE-LABlab(58.29, 53.79, -63.62)
CIE-LCHlch(58.29, 83.31, 310.22°)
OKLaboklab(66.33% 0.1085 -0.1802)
OKLCHoklch(66.33% 0.21 301.1)
XYZxyz(39.7777, 26.2650, 95.8835)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BFD #BDFD6B
analogous
#6B74FD #AB6BFD #F46BFD
triadic
#AB6BFD #FDAB6B #6BFDAB
tetradic
#AB6BFD #FD6B74 #BDFD6B #6BFDF4
square
#AB6BFD #FD6B74 #BDFD6B #6BFDF4
split-complementary
#AB6BFD #FDF46B #74FD6B
monochromatic
#6903EA #892FFC #AB6BFD #CDA7FE #EEE1FF

Accessibility & contrast

On white

3.36
#AB6BFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#AB6BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BFD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BFD#FFFFFF#000000##000000
##AB6BFD1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#218BFF
Deuteranopia (green-blind)
#418BFA
Tritanopia (blue-blind)
#9A89AA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6bfd;
/* rgb */ color: rgb(171, 107, 253);
/* oklch */ color: oklch(66.3% 0.210 301.1);
Tailwind
colors: {
  custom: {
    50: '#c898ff',
    500: '#ab6bfd',
    950: '#000000',
  },
}
SCSS
$custom: #ab6bfd;
$custom-light: #c898ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6bfd",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 253
  },
  "hsl": {
    "h": 266.301,
    "s": 97.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66328,
    "c": 0.21033,
    "h": 301.1
  },
  "luminance": 0.26265
}

Semantic roles & 50–950 ramp

primary
#AB6BFD
secondary
#E4F6CE
accent
#E60081
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB6BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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