#AB5CE0#AB5CE0

#AB5CE0 is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.4% C 0.200 H 309.4°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AB5CE0
RGBrgb(171, 92, 224)
HSLhsl(276, 68%, 62%)
HSVhsv(276, 59%, 88%)
CMYKcmyk(23.7%, 58.9%, 0%, 12.2%)
CIE-LABlab(53.70, 54.76, -54.79)
CIE-LCHlch(53.70, 77.46, 314.98°)
OKLaboklab(62.43% 0.1267 -0.1542)
OKLCHoklch(62.43% 0.2 309.4)
XYZxyz(34.0737, 21.6946, 72.8991)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CE0 #91E05C
analogous
#695CE0 #AB5CE0 #E05CD3
triadic
#AB5CE0 #E0AB5C #5CE0AB
tetradic
#AB5CE0 #E0695C #91E05C #5CD3E0
square
#AB5CE0 #E0695C #91E05C #5CD3E0
split-complementary
#AB5CE0 #D3E05C #5CE069
monochromatic
#6E1FA3 #9029D6 #AB5CE0 #C58FEA #E0C3F4

Accessibility & contrast

On white

3.93
#AB5CE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#AB5CE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CE0
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CE0#FFFFFF#000000##000000
##AB5CE01.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#297DE4
Deuteranopia (green-blind)
#4C82DD
Tritanopia (blue-blind)
#A47595
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5ce0;
/* rgb */ color: rgb(171, 92, 224);
/* oklch */ color: oklch(62.4% 0.200 309.4);
Tailwind
colors: {
  custom: {
    50: '#c78eea',
    500: '#ab5ce0',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ce0;
$custom-light: #c78eea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ce0",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 224
  },
  "hsl": {
    "h": 275.909,
    "s": 68.041,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62428,
    "c": 0.1996,
    "h": 309.4
  },
  "luminance": 0.21694
}

Semantic roles & 50–950 ramp

primary
#AB5CE0
secondary
#C7E4B4
accent
#D01660
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB5CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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