#AB5CE1#AB5CE1

#AB5CE1 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.5% C 0.201 H 309.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AB5CE1
RGBrgb(171, 92, 225)
HSLhsl(276, 69%, 62%)
HSVhsv(276, 59%, 88%)
CMYKcmyk(24%, 59.1%, 0%, 11.8%)
CIE-LABlab(53.76, 54.98, -55.26)
CIE-LCHlch(53.76, 77.95, 314.85°)
OKLaboklab(62.49% 0.1267 -0.1556)
OKLCHoklch(62.49% 0.201 309.1)
XYZxyz(34.2097, 21.7490, 73.6154)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CE1 #92E15C
analogous
#695CE1 #AB5CE1 #E15CD5
triadic
#AB5CE1 #E1AB5C #5CE1AB
tetradic
#AB5CE1 #E1695C #92E15C #5CD5E1
square
#AB5CE1 #E1695C #92E15C #5CD5E1
split-complementary
#AB5CE1 #D5E15C #5CE169
monochromatic
#6E1EA4 #9028D7 #AB5CE1 #C690EB #E0C3F4

Accessibility & contrast

On white

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

On black

5.35
#AB5CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CE1
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CE1#FFFFFF#000000##000000
##AB5CE11.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#277DE5
Deuteranopia (green-blind)
#4B82DE
Tritanopia (blue-blind)
#A37596
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5ce1;
/* rgb */ color: rgb(171, 92, 225);
/* oklch */ color: oklch(62.5% 0.201 309.1);
Tailwind
colors: {
  custom: {
    50: '#c78eeb',
    500: '#ab5ce1',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ce1;
$custom-light: #c78eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ce1",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 225
  },
  "hsl": {
    "h": 275.639,
    "s": 68.912,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62489,
    "c": 0.20067,
    "h": 309.1
  },
  "luminance": 0.21748
}

Semantic roles & 50–950 ramp

primary
#AB5CE1
secondary
#C8E5B4
accent
#D11561
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #AB5CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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