#AB5DE3#AB5DE3

#AB5DE3 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.7% C 0.201 H 308.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AB5DE3
RGBrgb(171, 93, 227)
HSLhsl(275, 71%, 63%)
HSVhsv(275, 59%, 89%)
CMYKcmyk(24.7%, 59%, 0%, 11%)
CIE-LABlab(54.06, 54.92, -55.90)
CIE-LCHlch(54.06, 78.37, 314.49°)
OKLaboklab(62.75% 0.1255 -0.1575)
OKLCHoklch(62.75% 0.201 308.5)
XYZxyz(34.5713, 22.0332, 75.0898)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5DE3 #95E35D
analogous
#685DE3 #AB5DE3 #E35DD8
triadic
#AB5DE3 #E3AB5D #5DE3AB
tetradic
#AB5DE3 #E3685D #95E35D #5DD8E3
square
#AB5DE3 #E3685D #95E35D #5DD8E3
split-complementary
#AB5DE3 #D8E35D #5DE368
monochromatic
#6E1DA8 #9029DA #AB5DE3 #C691EC #E1C5F5

Accessibility & contrast

On white

3.88
#AB5DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#AB5DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5DE3
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5DE3#FFFFFF#000000##000000
##AB5DE31.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#277EE7
Deuteranopia (green-blind)
#4A82E0
Tritanopia (blue-blind)
#A37797
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab5de3;
/* rgb */ color: rgb(171, 93, 227);
/* oklch */ color: oklch(62.7% 0.201 308.5);
Tailwind
colors: {
  custom: {
    50: '#c78eec',
    500: '#ab5de3',
    950: '#000000',
  },
}
SCSS
$custom: #ab5de3;
$custom-light: #c78eec;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5de3",
  "rgb": {
    "r": 171,
    "g": 93,
    "b": 227
  },
  "hsl": {
    "h": 274.925,
    "s": 70.526,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62747,
    "c": 0.20138,
    "h": 308.5
  },
  "luminance": 0.22033
}

Semantic roles & 50–950 ramp

primary
#AB5DE3
secondary
#CAE6B6
accent
#D31363
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #AB5DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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