#AB5CED#AB5CED

#AB5CED is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.2% C 0.213 H 306.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AB5CED
RGBrgb(171, 92, 237)
HSLhsl(273, 80%, 65%)
HSVhsv(273, 61%, 93%)
CMYKcmyk(27.8%, 61.2%, 0%, 7.1%)
CIE-LABlab(54.48, 57.66, -60.85)
CIE-LCHlch(54.48, 83.83, 313.46°)
OKLaboklab(63.24% 0.1265 -0.172)
OKLCHoklch(63.24% 0.214 306.3)
XYZxyz(35.9045, 22.4270, 82.5417)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CED #9EED5C
analogous
#635CED #AB5CED #ED5CE6
triadic
#AB5CED #EDAB5C #5CEDAB
tetradic
#AB5CED #ED635C #9EED5C #5CE6ED
square
#AB5CED #ED635C #9EED5C #5CE6ED
split-complementary
#AB5CED #E6ED5C #5CED63
monochromatic
#6F15BA #8F25E7 #AB5CED #C793F3 #E4CAF9

Accessibility & contrast

On white

3.83
#AB5CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#AB5CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CED
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CED#FFFFFF#000000##000000
##AB5CED1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0480F2
Deuteranopia (green-blind)
#3E83EA
Tritanopia (blue-blind)
#A0799C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5ced;
/* rgb */ color: rgb(171, 92, 237);
/* oklch */ color: oklch(63.2% 0.213 306.3);
Tailwind
colors: {
  custom: {
    50: '#c88ef4',
    500: '#ab5ced',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ced;
$custom-light: #c88ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ced",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 272.69,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63241,
    "c": 0.2135,
    "h": 306.3
  },
  "luminance": 0.22427
}

Semantic roles & 50–950 ramp

primary
#AB5CED
secondary
#D0EBB9
accent
#DC0969
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140D17
muted
#827D85

Preview Lab

Preview with #AB5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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