#AB6EDC#AB6EDC

#AB6EDC is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.8% C 0.168 H 308.0°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AB6EDC
RGBrgb(171, 110, 220)
HSLhsl(273, 61%, 65%)
HSVhsv(273, 50%, 86%)
CMYKcmyk(22.3%, 50%, 0%, 13.7%)
CIE-LABlab(57.05, 44.47, -47.20)
CIE-LCHlch(57.05, 64.85, 313.30°)
OKLaboklab(64.82% 0.1032 -0.1321)
OKLCHoklch(64.82% 0.168 308)
XYZxyz(35.2862, 24.9775, 70.6585)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EDC #9FDC6E
analogous
#746EDC #AB6EDC #DC6ED6
triadic
#AB6EDC #DCAB6E #6EDCAB
tetradic
#AB6EDC #DC746E #9FDC6E #6ED6DC
square
#AB6EDC #DC746E #9FDC6E #6ED6DC
split-complementary
#AB6EDC #D6DC6E #6EDC74
monochromatic
#6F28A7 #8E3DD0 #AB6EDC #C89FE8 #E4D1F4

Accessibility & contrast

On white

3.50
#AB6EDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#AB6EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EDC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EDC#FFFFFF#000000##000000
##AB6EDC1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5086E0
Deuteranopia (green-blind)
#618AD9
Tritanopia (blue-blind)
#A4819B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab6edc;
/* rgb */ color: rgb(171, 110, 220);
/* oklch */ color: oklch(64.8% 0.168 308.0);
Tailwind
colors: {
  custom: {
    50: '#c699e7',
    500: '#ab6edc',
    950: '#000000',
  },
}
SCSS
$custom: #ab6edc;
$custom-light: #c699e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6edc",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 220
  },
  "hsl": {
    "h": 273.273,
    "s": 61.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64823,
    "c": 0.16769,
    "h": 308
  },
  "luminance": 0.24977
}

Semantic roles & 50–950 ramp

primary
#AB6EDC
secondary
#D1E6C0
accent
#C91D69
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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