#AB5CDC#AB5CDC

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

Color values

HEX#AB5CDC
RGBrgb(171, 92, 220)
HSLhsl(277, 65%, 61%)
HSVhsv(277, 58%, 86%)
CMYKcmyk(22.3%, 58.2%, 0%, 13.7%)
CIE-LABlab(53.47, 53.88, -52.90)
CIE-LCHlch(53.47, 75.50, 315.52°)
OKLaboklab(62.19% 0.1267 -0.1487)
OKLCHoklch(62.19% 0.195 310.4)
XYZxyz(33.5376, 21.4802, 70.0756)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CDC #8DDC5C
analogous
#6B5CDC #AB5CDC #DC5CCD
triadic
#AB5CDC #DCAB5C #5CDCAB
tetradic
#AB5CDC #DC6B5C #8DDC5C #5CCDDC
square
#AB5CDC #DC6B5C #8DDC5C #5CCDDC
split-complementary
#AB5CDC #CDDC5C #5CDC6B
monochromatic
#6D229C #902CCE #AB5CDC #C58EE7 #DFC1F2

Accessibility & contrast

On white

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

On black

5.30
#AB5CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CDC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CDC#FFFFFF#000000##000000
##AB5CDC1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CE0
Deuteranopia (green-blind)
#4F81D9
Tritanopia (blue-blind)
#A57493
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5cdc;
/* rgb */ color: rgb(171, 92, 220);
/* oklch */ color: oklch(62.2% 0.195 310.4);
Tailwind
colors: {
  custom: {
    50: '#c78ee7',
    500: '#ab5cdc',
    950: '#000000',
  },
}
SCSS
$custom: #ab5cdc;
$custom-light: #c78ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5cdc",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 277.031,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62186,
    "c": 0.19534,
    "h": 310.4
  },
  "luminance": 0.2148
}

Semantic roles & 50–950 ramp

primary
#AB5CDC
secondary
#C4E2B2
accent
#CC195E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB5CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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