#AB5FDA#AB5FDA

#AB5FDA is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.5% C 0.189 H 310.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AB5FDA
RGBrgb(171, 95, 218)
HSLhsl(277, 62%, 61%)
HSVhsv(277, 56%, 85%)
CMYKcmyk(21.6%, 56.4%, 0%, 14.5%)
CIE-LABlab(53.93, 51.92, -51.04)
CIE-LCHlch(53.93, 72.81, 315.49°)
OKLaboklab(62.48% 0.1228 -0.1433)
OKLCHoklch(62.48% 0.189 310.6)
XYZxyz(33.5393, 21.9050, 68.7773)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FDA #8EDA5F
analogous
#6E5FDA #AB5FDA #DA5FCC
triadic
#AB5FDA #DAAB5F #5FDAAB
tetradic
#AB5FDA #DA6E5F #8EDA5F #5FCCDA
square
#AB5FDA #DA6E5F #8EDA5F #5FCCDA
split-complementary
#AB5FDA #CCDA5F #5FDA6E
monochromatic
#6D249B #902FCD #AB5FDA #C591E5 #DFC2F1

Accessibility & contrast

On white

3.90
#AB5FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#AB5FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FDA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FDA#FFFFFF#000000##000000
##AB5FDA1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#377DDE
Deuteranopia (green-blind)
#5482D7
Tritanopia (blue-blind)
#A57594
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab5fda;
/* rgb */ color: rgb(171, 95, 218);
/* oklch */ color: oklch(62.5% 0.189 310.6);
Tailwind
colors: {
  custom: {
    50: '#c78fe6',
    500: '#ab5fda',
    950: '#000000',
  },
}
SCSS
$custom: #ab5fda;
$custom-light: #c78fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5fda",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 277.073,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62482,
    "c": 0.18873,
    "h": 310.6
  },
  "luminance": 0.21904
}

Semantic roles & 50–950 ramp

primary
#AB5FDA
secondary
#C5E1B3
accent
#CA1B5E
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB5FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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