#AB5CE9#AB5CE9

#AB5CE9 is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.0% C 0.209 H 307.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AB5CE9
RGBrgb(171, 92, 233)
HSLhsl(274, 76%, 64%)
HSVhsv(274, 61%, 91%)
CMYKcmyk(26.6%, 60.5%, 0%, 8.6%)
CIE-LABlab(54.23, 56.76, -59.00)
CIE-LCHlch(54.23, 81.87, 313.89°)
OKLaboklab(62.99% 0.1266 -0.1666)
OKLCHoklch(62.99% 0.209 307.2)
XYZxyz(35.3267, 22.1958, 79.4982)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CE9 #9AE95C
analogous
#645CE9 #AB5CE9 #E95CE0
triadic
#AB5CE9 #E9AB5C #5CE9AB
tetradic
#AB5CE9 #E9645C #9AE95C #5CE0E9
square
#AB5CE9 #E9645C #9AE95C #5CE0E9
split-complementary
#AB5CE9 #E0E95C #5CE964
monochromatic
#6F18B3 #8F26E2 #AB5CE9 #C792F0 #E3C8F8

Accessibility & contrast

On white

3.86
#AB5CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#AB5CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CE9
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CE9#FFFFFF#000000##000000
##AB5CE91.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#157FED
Deuteranopia (green-blind)
#4382E6
Tritanopia (blue-blind)
#A1789A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5ce9;
/* rgb */ color: rgb(171, 92, 233);
/* oklch */ color: oklch(63.0% 0.209 307.2);
Tailwind
colors: {
  custom: {
    50: '#c88ef1',
    500: '#ab5ce9',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ce9;
$custom-light: #c88ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ce9",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 273.617,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62987,
    "c": 0.20922,
    "h": 307.2
  },
  "luminance": 0.22195
}

Semantic roles & 50–950 ramp

primary
#AB5CE9
secondary
#CDE9B8
accent
#D80D66
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130D17
muted
#827D85

Preview Lab

Preview with #AB5CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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