#AB6BED#AB6BED

#AB6BED is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.3% C 0.192 H 304.3°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AB6BED
RGBrgb(171, 107, 237)
HSLhsl(270, 78%, 67%)
HSVhsv(270, 55%, 93%)
CMYKcmyk(27.8%, 54.9%, 0%, 7.1%)
CIE-LABlab(57.35, 50.00, -56.24)
CIE-LCHlch(57.35, 75.25, 311.64°)
OKLaboklab(65.34% 0.1083 -0.1585)
OKLCHoklch(65.34% 0.192 304.3)
XYZxyz(37.3350, 25.2879, 83.0185)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BED #ADED6B
analogous
#6B6CED #AB6BED #EC6BED
triadic
#AB6BED #EDAB6B #6BEDAB
tetradic
#AB6BED #ED6B6C #ADED6B #6BEDEC
square
#AB6BED #ED6B6C #ADED6B #6BEDEC
split-complementary
#AB6BED #EDEC6B #6CED6B
monochromatic
#6D18C6 #8C34E6 #AB6BED #CAA2F4 #E9D8FA

Accessibility & contrast

On white

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

On black

6.06
#AB6BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BED
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BED#FFFFFF#000000##000000
##AB6BED1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F1
Deuteranopia (green-blind)
#518AEA
Tritanopia (blue-blind)
#9F84A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab6bed;
/* rgb */ color: rgb(171, 107, 237);
/* oklch */ color: oklch(65.3% 0.192 304.3);
Tailwind
colors: {
  custom: {
    50: '#c797f3',
    500: '#ab6bed',
    950: '#000000',
  },
}
SCSS
$custom: #ab6bed;
$custom-light: #c797f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6bed",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 237
  },
  "hsl": {
    "h": 269.538,
    "s": 78.313,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65343,
    "c": 0.192,
    "h": 304.3
  },
  "luminance": 0.25288
}

Semantic roles & 50–950 ramp

primary
#AB6BED
secondary
#DAEEC6
accent
#DB0B74
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6BED

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

Preview Lab → · Contrast checker → · Palette generator →

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