#AB5BDA#AB5BDA

#AB5BDA is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.9% C 0.195 H 311.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AB5BDA
RGBrgb(171, 91, 218)
HSLhsl(278, 63%, 61%)
HSVhsv(278, 58%, 85%)
CMYKcmyk(21.6%, 58.3%, 0%, 14.5%)
CIE-LABlab(53.17, 53.94, -52.25)
CIE-LCHlch(53.17, 75.09, 315.91°)
OKLaboklab(61.93% 0.1279 -0.1468)
OKLCHoklch(61.93% 0.195 311.1)
XYZxyz(33.1882, 21.2028, 68.6603)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BDA #8ADA5B
analogous
#6B5BDA #AB5BDA #DA5BCA
triadic
#AB5BDA #DAAB5B #5BDAAB
tetradic
#AB5BDA #DA6B5B #8ADA5B #5BCADA
square
#AB5BDA #DA6B5B #8ADA5B #5BCADA
split-complementary
#AB5BDA #CADA5B #5BDA6B
monochromatic
#6D2298 #902ECA #AB5BDA #C58DE5 #DEBFF1

Accessibility & contrast

On white

4.01
#AB5BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#AB5BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BDA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BDA#FFFFFF#000000##000000
##AB5BDA1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7BDE
Deuteranopia (green-blind)
#5080D7
Tritanopia (blue-blind)
#A57292
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab5bda;
/* rgb */ color: rgb(171, 91, 218);
/* oklch */ color: oklch(61.9% 0.195 311.1);
Tailwind
colors: {
  custom: {
    50: '#c78de6',
    500: '#ab5bda',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bda;
$custom-light: #c78de6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bda",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 277.795,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6193,
    "c": 0.19468,
    "h": 311.1
  },
  "luminance": 0.21202
}

Semantic roles & 50–950 ramp

primary
#AB5BDA
secondary
#C2E1B0
accent
#CB1B5C
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB5BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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