#AB5CE6#AB5CE6

#AB5CE6 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.8% C 0.206 H 307.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AB5CE6
RGBrgb(171, 92, 230)
HSLhsl(274, 73%, 63%)
HSVhsv(274, 60%, 90%)
CMYKcmyk(25.7%, 60%, 0%, 9.8%)
CIE-LABlab(54.05, 56.09, -57.60)
CIE-LCHlch(54.05, 80.40, 314.24°)
OKLaboklab(62.8% 0.1266 -0.1625)
OKLCHoklch(62.8% 0.206 307.9)
XYZxyz(34.9018, 22.0259, 77.2604)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CE6 #97E65C
analogous
#665CE6 #AB5CE6 #E65CDC
triadic
#AB5CE6 #E6AB5C #5CE6AB
tetradic
#AB5CE6 #E6665C #97E65C #5CDCE6
square
#AB5CE6 #E6665C #97E65C #5CDCE6
split-complementary
#AB5CE6 #DCE65C #5CE666
monochromatic
#6E1BAD #9027DE #AB5CE6 #C691EE #E2C6F6

Accessibility & contrast

On white

3.89
#AB5CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#AB5CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CE6
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CE6#FFFFFF#000000##000000
##AB5CE61.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7EEA
Deuteranopia (green-blind)
#4682E3
Tritanopia (blue-blind)
#A27799
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab5ce6;
/* rgb */ color: rgb(171, 92, 230);
/* oklch */ color: oklch(62.8% 0.206 307.9);
Tailwind
colors: {
  custom: {
    50: '#c88eef',
    500: '#ab5ce6',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ce6;
$custom-light: #c88eef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ce6",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 274.348,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62798,
    "c": 0.20602,
    "h": 307.9
  },
  "luminance": 0.22025
}

Semantic roles & 50–950 ramp

primary
#AB5CE6
secondary
#CBE8B6
accent
#D61064
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #AB5CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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