#AB5DD7#AB5DD7

#AB5DD7 is a light, vivid violet. Relative luminance 0.214; OKLCH L 62.0% C 0.189 H 311.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AB5DD7
RGBrgb(171, 93, 215)
HSLhsl(278, 60%, 60%)
HSVhsv(278, 57%, 84%)
CMYKcmyk(20.5%, 56.7%, 0%, 15.7%)
CIE-LABlab(53.38, 52.28, -50.21)
CIE-LCHlch(53.38, 72.49, 316.16°)
OKLaboklab(62.03% 0.1253 -0.1409)
OKLCHoklch(62.03% 0.189 311.6)
XYZxyz(32.9725, 21.3937, 66.6692)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5DD7 #89D75D
analogous
#6E5DD7 #AB5DD7 #D75DC6
triadic
#AB5DD7 #D7AB5D #5DD7AB
tetradic
#AB5DD7 #D76E5D #89D75D #5DC6D7
square
#AB5DD7 #D76E5D #89D75D #5DC6D7
split-complementary
#AB5DD7 #C6D75D #5DD76E
monochromatic
#6C2595 #9031C6 #AB5DD7 #C48EE3 #DEBFEF

Accessibility & contrast

On white

3.98
#AB5DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#AB5DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5DD7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5DD7#FFFFFF#000000##000000
##AB5DD71.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#377CDB
Deuteranopia (green-blind)
#5481D4
Tritanopia (blue-blind)
#A67391
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab5dd7;
/* rgb */ color: rgb(171, 93, 215);
/* oklch */ color: oklch(62.0% 0.189 311.6);
Tailwind
colors: {
  custom: {
    50: '#c78ee4',
    500: '#ab5dd7',
    950: '#000000',
  },
}
SCSS
$custom: #ab5dd7;
$custom-light: #c78ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5dd7",
  "rgb": {
    "r": 171,
    "g": 93,
    "b": 215
  },
  "hsl": {
    "h": 278.361,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62026,
    "c": 0.18851,
    "h": 311.6
  },
  "luminance": 0.21393
}

Semantic roles & 50–950 ramp

primary
#AB5DD7
secondary
#C1DFB1
accent
#C81D5B
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D15
muted
#827D84

Preview Lab

Preview with #AB5DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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