#AB5DDC#AB5DDC

#AB5DDC is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.3% C 0.194 H 310.3°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AB5DDC
RGBrgb(171, 93, 220)
HSLhsl(277, 64%, 61%)
HSVhsv(277, 58%, 86%)
CMYKcmyk(22.3%, 57.7%, 0%, 13.7%)
CIE-LABlab(53.66, 53.37, -52.60)
CIE-LCHlch(53.66, 74.94, 315.42°)
OKLaboklab(62.32% 0.1254 -0.1478)
OKLCHoklch(62.32% 0.194 310.3)
XYZxyz(33.6248, 21.6546, 70.1047)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5DDC #8EDC5D
analogous
#6C5DDC #AB5DDC #DC5DCE
triadic
#AB5DDC #DCAB5D #5DDCAB
tetradic
#AB5DDC #DC6C5D #8EDC5D #5DCEDC
square
#AB5DDC #DC6C5D #8EDC5D #5DCEDC
split-complementary
#AB5DDC #CEDC5D #5DDC6C
monochromatic
#6D229D #902DCF #AB5DDC #C58FE7 #DFC2F2

Accessibility & contrast

On white

3.94
#AB5DDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#AB5DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5DDC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5DDC#FFFFFF#000000##000000
##AB5DDC1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#317DE0
Deuteranopia (green-blind)
#5082D9
Tritanopia (blue-blind)
#A57494
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5ddc;
/* rgb */ color: rgb(171, 93, 220);
/* oklch */ color: oklch(62.3% 0.194 310.3);
Tailwind
colors: {
  custom: {
    50: '#c78ee7',
    500: '#ab5ddc',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ddc;
$custom-light: #c78ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ddc",
  "rgb": {
    "r": 171,
    "g": 93,
    "b": 220
  },
  "hsl": {
    "h": 276.85,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62323,
    "c": 0.19386,
    "h": 310.3
  },
  "luminance": 0.21654
}

Semantic roles & 50–950 ramp

primary
#AB5DDC
secondary
#C5E2B3
accent
#CC195E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #AB5DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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