#AB5CE3#AB5CE3

#AB5CE3 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.6% C 0.203 H 308.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AB5CE3
RGBrgb(171, 92, 227)
HSLhsl(275, 71%, 63%)
HSVhsv(275, 59%, 89%)
CMYKcmyk(24.7%, 59.5%, 0%, 11%)
CIE-LABlab(53.88, 55.42, -56.20)
CIE-LCHlch(53.88, 78.93, 314.60°)
OKLaboklab(62.61% 0.1267 -0.1584)
OKLCHoklch(62.61% 0.203 308.7)
XYZxyz(34.4841, 21.8588, 75.0607)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CE3 #94E35C
analogous
#675CE3 #AB5CE3 #E35CD8
triadic
#AB5CE3 #E3AB5C #5CE3AB
tetradic
#AB5CE3 #E3675C #94E35C #5CD8E3
square
#AB5CE3 #E3675C #94E35C #5CD8E3
split-complementary
#AB5CE3 #D8E35C #5CE367
monochromatic
#6E1DA8 #9028DA #AB5CE3 #C690EC #E1C4F5

Accessibility & contrast

On white

3.91
#AB5CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#AB5CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CE3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CE3#FFFFFF#000000##000000
##AB5CE31.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#247EE7
Deuteranopia (green-blind)
#4982E0
Tritanopia (blue-blind)
#A37697
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab5ce3;
/* rgb */ color: rgb(171, 92, 227);
/* oklch */ color: oklch(62.6% 0.203 308.7);
Tailwind
colors: {
  custom: {
    50: '#c88eec',
    500: '#ab5ce3',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ce3;
$custom-light: #c88eec;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ce3",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 275.111,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62612,
    "c": 0.20281,
    "h": 308.7
  },
  "luminance": 0.21858
}

Semantic roles & 50–950 ramp

primary
#AB5CE3
secondary
#C9E6B5
accent
#D31362
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #AB5CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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