#AB5BDF#AB5BDF

#AB5BDF is a light, vivid violet. Relative luminance 0.215; OKLCH L 62.2% C 0.200 H 309.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AB5BDF
RGBrgb(171, 91, 223)
HSLhsl(276, 67%, 62%)
HSVhsv(276, 59%, 87%)
CMYKcmyk(23.3%, 59.2%, 0%, 12.5%)
CIE-LABlab(53.46, 55.03, -54.61)
CIE-LCHlch(53.46, 77.53, 315.22°)
OKLaboklab(62.23% 0.1279 -0.1537)
OKLCHoklch(62.23% 0.2 309.8)
XYZxyz(33.8524, 21.4684, 72.1582)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BDF #8FDF5B
analogous
#695BDF #AB5BDF #DF5BD1
triadic
#AB5BDF #DFAB5B #5BDFAB
tetradic
#AB5BDF #DF695B #8FDF5B #5BD1DF
square
#AB5BDF #DF695B #8FDF5B #5BD1DF
split-complementary
#AB5BDF #D1DF5B #5BDF69
monochromatic
#6D1FA0 #9029D4 #AB5BDF #C58EE9 #DFC1F3

Accessibility & contrast

On white

3.97
#AB5BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#AB5BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BDF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BDF#FFFFFF#000000##000000
##AB5BDF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#287CE3
Deuteranopia (green-blind)
#4C81DC
Tritanopia (blue-blind)
#A47495
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5bdf;
/* rgb */ color: rgb(171, 91, 223);
/* oklch */ color: oklch(62.2% 0.200 309.8);
Tailwind
colors: {
  custom: {
    50: '#c78dea',
    500: '#ab5bdf',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bdf;
$custom-light: #c78dea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bdf",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 276.364,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62232,
    "c": 0.19998,
    "h": 309.8
  },
  "luminance": 0.21468
}

Semantic roles & 50–950 ramp

primary
#AB5BDF
secondary
#C6E3B2
accent
#CF165F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB5BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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