#AB5DDD#AB5DDD

#AB5DDD is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.4% C 0.195 H 310.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AB5DDD
RGBrgb(171, 93, 221)
HSLhsl(277, 65%, 62%)
HSVhsv(277, 58%, 87%)
CMYKcmyk(22.6%, 57.9%, 0%, 13.3%)
CIE-LABlab(53.72, 53.59, -53.07)
CIE-LCHlch(53.72, 75.43, 315.28°)
OKLaboklab(62.38% 0.1254 -0.1492)
OKLCHoklch(62.38% 0.195 310)
XYZxyz(33.7576, 21.7077, 70.8043)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5DDD #8FDD5D
analogous
#6B5DDD #AB5DDD #DD5DCF
triadic
#AB5DDD #DDAB5D #5DDDAB
tetradic
#AB5DDD #DD6B5D #8FDD5D #5DCFDD
square
#AB5DDD #DD6B5D #8FDD5D #5DCFDD
split-complementary
#AB5DDD #CFDD5D #5DDD6B
monochromatic
#6D219E #902CD1 #AB5DDD #C590E8 #DFC2F2

Accessibility & contrast

On white

3.93
#AB5DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#AB5DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5DDD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5DDD#FFFFFF#000000##000000
##AB5DDD1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#307DE1
Deuteranopia (green-blind)
#4F82DA
Tritanopia (blue-blind)
#A47594
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5ddd;
/* rgb */ color: rgb(171, 93, 221);
/* oklch */ color: oklch(62.4% 0.195 310.0);
Tailwind
colors: {
  custom: {
    50: '#c78ee8',
    500: '#ab5ddd',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ddd;
$custom-light: #c78ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ddd",
  "rgb": {
    "r": 171,
    "g": 93,
    "b": 221
  },
  "hsl": {
    "h": 276.563,
    "s": 65.306,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62382,
    "c": 0.19494,
    "h": 310
  },
  "luminance": 0.21707
}

Semantic roles & 50–950 ramp

primary
#AB5DDD
secondary
#C6E3B3
accent
#CD185F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #AB5DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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