#AB5CDD#AB5CDD

#AB5CDD is a light, vivid violet. Relative luminance 0.215; OKLCH L 62.2% C 0.196 H 310.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AB5CDD
RGBrgb(171, 92, 221)
HSLhsl(277, 65%, 61%)
HSVhsv(277, 58%, 87%)
CMYKcmyk(22.6%, 58.4%, 0%, 13.3%)
CIE-LABlab(53.53, 54.09, -53.37)
CIE-LCHlch(53.53, 75.99, 315.38°)
OKLaboklab(62.25% 0.1267 -0.1501)
OKLCHoklch(62.25% 0.196 310.2)
XYZxyz(33.6704, 21.5333, 70.7752)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CDD #8EDD5C
analogous
#6B5CDD #AB5CDD #DD5CCF
triadic
#AB5CDD #DDAB5C #5CDDAB
tetradic
#AB5CDD #DD6B5C #8EDD5C #5CCFDD
square
#AB5CDD #DD6B5C #8EDD5C #5CCFDD
split-complementary
#AB5CDD #CFDD5C #5CDD6B
monochromatic
#6D219E #902BD0 #AB5CDD #C58FE8 #DFC1F2

Accessibility & contrast

On white

3.96
#AB5CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#AB5CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CDD
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CDD#FFFFFF#000000##000000
##AB5CDD1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7CE1
Deuteranopia (green-blind)
#4E81DA
Tritanopia (blue-blind)
#A57494
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5cdd;
/* rgb */ color: rgb(171, 92, 221);
/* oklch */ color: oklch(62.2% 0.196 310.2);
Tailwind
colors: {
  custom: {
    50: '#c78ee8',
    500: '#ab5cdd',
    950: '#000000',
  },
}
SCSS
$custom: #ab5cdd;
$custom-light: #c78ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5cdd",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 221
  },
  "hsl": {
    "h": 276.744,
    "s": 65.482,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62246,
    "c": 0.1964,
    "h": 310.2
  },
  "luminance": 0.21533
}

Semantic roles & 50–950 ramp

primary
#AB5CDD
secondary
#C5E3B2
accent
#CD185E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB5CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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