#AB5DD8#AB5DD8

#AB5DD8 is a light, vivid violet. Relative luminance 0.214; OKLCH L 62.1% C 0.190 H 311.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AB5DD8
RGBrgb(171, 93, 216)
HSLhsl(278, 61%, 61%)
HSVhsv(278, 57%, 85%)
CMYKcmyk(20.8%, 56.9%, 0%, 15.3%)
CIE-LABlab(53.43, 52.50, -50.69)
CIE-LCHlch(53.43, 72.98, 316.00°)
OKLaboklab(62.09% 0.1253 -0.1423)
OKLCHoklch(62.09% 0.19 311.4)
XYZxyz(33.1014, 21.4452, 67.3480)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5DD8 #8AD85D
analogous
#6D5DD8 #AB5DD8 #D85DC7
triadic
#AB5DD8 #D8AB5D #5DD8AB
tetradic
#AB5DD8 #D86D5D #8AD85D #5DC7D8
square
#AB5DD8 #D86D5D #8AD85D #5DC7D8
split-complementary
#AB5DD8 #C7D85D #5DD86D
monochromatic
#6D2496 #9030C8 #AB5DD8 #C58EE4 #DEC0F0

Accessibility & contrast

On white

3.97
#AB5DD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#AB5DD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5DD8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5DD8#FFFFFF#000000##000000
##AB5DD81.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#367CDC
Deuteranopia (green-blind)
#5381D5
Tritanopia (blue-blind)
#A67392
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5dd8;
/* rgb */ color: rgb(171, 93, 216);
/* oklch */ color: oklch(62.1% 0.190 311.4);
Tailwind
colors: {
  custom: {
    50: '#c78ee5',
    500: '#ab5dd8',
    950: '#000000',
  },
}
SCSS
$custom: #ab5dd8;
$custom-light: #c78ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5dd8",
  "rgb": {
    "r": 171,
    "g": 93,
    "b": 216
  },
  "hsl": {
    "h": 278.049,
    "s": 61.194,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62085,
    "c": 0.18957,
    "h": 311.4
  },
  "luminance": 0.21444
}

Semantic roles & 50–950 ramp

primary
#AB5DD8
secondary
#C2E0B1
accent
#C91D5C
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #AB5DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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