#AB6CED#AB6CED

#AB6CED is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.5% C 0.191 H 304.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AB6CED
RGBrgb(171, 108, 237)
HSLhsl(269, 78%, 68%)
HSVhsv(269, 54%, 93%)
CMYKcmyk(27.8%, 54.4%, 0%, 7.1%)
CIE-LABlab(57.56, 49.47, -55.92)
CIE-LCHlch(57.56, 74.66, 311.50°)
OKLaboklab(65.49% 0.107 -0.1576)
OKLCHoklch(65.49% 0.191 304.2)
XYZxyz(37.4399, 25.4976, 83.0535)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6CED #AEED6C
analogous
#6C6EED #AB6CED #EB6CED
triadic
#AB6CED #EDAB6C #6CEDAB
tetradic
#AB6CED #ED6C6E #AEED6C #6CEDEB
square
#AB6CED #ED6C6E #AEED6C #6CEDEB
split-complementary
#AB6CED #EDEB6C #6EED6C
monochromatic
#6D18C6 #8C35E6 #AB6CED #CAA3F4 #E9D9FA

Accessibility & contrast

On white

3.44
#AB6CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#AB6CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6CED
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6CED#FFFFFF#000000##000000
##AB6CED1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D89F1
Deuteranopia (green-blind)
#538AEA
Tritanopia (blue-blind)
#9F85A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab6ced;
/* rgb */ color: rgb(171, 108, 237);
/* oklch */ color: oklch(65.5% 0.191 304.2);
Tailwind
colors: {
  custom: {
    50: '#c798f3',
    500: '#ab6ced',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ced;
$custom-light: #c798f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ced",
  "rgb": {
    "r": 171,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 269.302,
    "s": 78.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65492,
    "c": 0.19051,
    "h": 304.2
  },
  "luminance": 0.25497
}

Semantic roles & 50–950 ramp

primary
#AB6CED
secondary
#DBEEC6
accent
#DA0B75
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6CED

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

Preview Lab → · Contrast checker → · Palette generator →

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