#AB6EDD#AB6EDD

#AB6EDD is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.9% C 0.169 H 307.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AB6EDD
RGBrgb(171, 110, 221)
HSLhsl(273, 62%, 65%)
HSVhsv(273, 50%, 87%)
CMYKcmyk(22.6%, 50.2%, 0%, 13.3%)
CIE-LABlab(57.11, 44.70, -47.68)
CIE-LCHlch(57.11, 65.35, 313.15°)
OKLaboklab(64.88% 0.1033 -0.1335)
OKLCHoklch(64.88% 0.169 307.7)
XYZxyz(35.4191, 25.0307, 71.3581)
Luminance0.2503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EDD #A0DD6E
analogous
#746EDD #AB6EDD #DD6ED7
triadic
#AB6EDD #DDAB6E #6EDDAB
tetradic
#AB6EDD #DD746E #A0DD6E #6ED7DD
square
#AB6EDD #DD746E #A0DD6E #6ED7DD
split-complementary
#AB6EDD #D7DD6E #6EDD74
monochromatic
#6F28A9 #8E3CD1 #AB6EDD #C8A0E9 #E4D1F4

Accessibility & contrast

On white

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

On black

6.01
#AB6EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EDD
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EDD#FFFFFF#000000##000000
##AB6EDD1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F87E1
Deuteranopia (green-blind)
#618ADA
Tritanopia (blue-blind)
#A4819B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab6edd;
/* rgb */ color: rgb(171, 110, 221);
/* oklch */ color: oklch(64.9% 0.169 307.7);
Tailwind
colors: {
  custom: {
    50: '#c699e8',
    500: '#ab6edd',
    950: '#000000',
  },
}
SCSS
$custom: #ab6edd;
$custom-light: #c699e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6edd",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 221
  },
  "hsl": {
    "h": 272.973,
    "s": 62.011,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64878,
    "c": 0.16886,
    "h": 307.7
  },
  "luminance": 0.2503
}

Semantic roles & 50–950 ramp

primary
#AB6EDD
secondary
#D2E6C0
accent
#CA1C6A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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