#AB5DDB#AB5DDB

#AB5DDB is a light, vivid violet. Relative luminance 0.216; OKLCH L 62.3% C 0.193 H 310.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AB5DDB
RGBrgb(171, 93, 219)
HSLhsl(277, 64%, 61%)
HSVhsv(277, 58%, 86%)
CMYKcmyk(21.9%, 57.5%, 0%, 14.1%)
CIE-LABlab(53.60, 53.15, -52.12)
CIE-LCHlch(53.60, 74.45, 315.56°)
OKLaboklab(62.26% 0.1254 -0.1464)
OKLCHoklch(62.26% 0.193 310.6)
XYZxyz(33.4927, 21.6018, 69.4093)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5DDB #8DDB5D
analogous
#6C5DDB #AB5DDB #DB5DCC
triadic
#AB5DDB #DBAB5D #5DDBAB
tetradic
#AB5DDB #DB6C5D #8DDB5D #5DCCDB
square
#AB5DDB #DB6C5D #8DDB5D #5DCCDB
split-complementary
#AB5DDB #CCDB5D #5DDB6C
monochromatic
#6D229B #902ECD #AB5DDB #C58FE6 #DFC1F1

Accessibility & contrast

On white

3.95
#AB5DDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#AB5DDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5DDB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5DDB#FFFFFF#000000##000000
##AB5DDB1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#327CDF
Deuteranopia (green-blind)
#5181D8
Tritanopia (blue-blind)
#A57493
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5ddb;
/* rgb */ color: rgb(171, 93, 219);
/* oklch */ color: oklch(62.3% 0.193 310.6);
Tailwind
colors: {
  custom: {
    50: '#c78ee7',
    500: '#ab5ddb',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ddb;
$custom-light: #c78ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ddb",
  "rgb": {
    "r": 171,
    "g": 93,
    "b": 219
  },
  "hsl": {
    "h": 277.143,
    "s": 63.636,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62263,
    "c": 0.19279,
    "h": 310.6
  },
  "luminance": 0.21601
}

Semantic roles & 50–950 ramp

primary
#AB5DDB
secondary
#C4E2B2
accent
#CB1A5E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #AB5DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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