#AB5CDE#AB5CDE

#AB5CDE is a light, vivid violet. Relative luminance 0.216; OKLCH L 62.3% C 0.197 H 309.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AB5CDE
RGBrgb(171, 92, 222)
HSLhsl(276, 66%, 62%)
HSVhsv(276, 59%, 87%)
CMYKcmyk(23%, 58.6%, 0%, 12.9%)
CIE-LABlab(53.59, 54.31, -53.85)
CIE-LCHlch(53.59, 76.48, 315.25°)
OKLaboklab(62.31% 0.1267 -0.1515)
OKLCHoklch(62.31% 0.197 309.9)
XYZxyz(33.8040, 21.5868, 71.4790)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CDE #8FDE5C
analogous
#6A5CDE #AB5CDE #DE5CD0
triadic
#AB5CDE #DEAB5C #5CDEAB
tetradic
#AB5CDE #DE6A5C #8FDE5C #5CD0DE
square
#AB5CDE #DE6A5C #8FDE5C #5CD0DE
split-complementary
#AB5CDE #D0DE5C #5CDE6A
monochromatic
#6D209F #902BD2 #AB5CDE #C58FE8 #DFC2F3

Accessibility & contrast

On white

3.95
#AB5CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#AB5CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CDE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CDE#FFFFFF#000000##000000
##AB5CDE1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7CE2
Deuteranopia (green-blind)
#4D81DB
Tritanopia (blue-blind)
#A47494
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5cde;
/* rgb */ color: rgb(171, 92, 222);
/* oklch */ color: oklch(62.3% 0.197 309.9);
Tailwind
colors: {
  custom: {
    50: '#c78ee9',
    500: '#ab5cde',
    950: '#000000',
  },
}
SCSS
$custom: #ab5cde;
$custom-light: #c78ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5cde",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 222
  },
  "hsl": {
    "h": 276.462,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62306,
    "c": 0.19747,
    "h": 309.9
  },
  "luminance": 0.21586
}

Semantic roles & 50–950 ramp

primary
#AB5CDE
secondary
#C6E3B3
accent
#CE175F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB5CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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