#AB5EDD#AB5EDD

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

Color values

HEX#AB5EDD
RGBrgb(171, 94, 221)
HSLhsl(276, 65%, 62%)
HSVhsv(276, 57%, 87%)
CMYKcmyk(22.6%, 57.5%, 0%, 13.3%)
CIE-LABlab(53.90, 53.09, -52.77)
CIE-LCHlch(53.90, 74.85, 315.17°)
OKLaboklab(62.52% 0.1242 -0.1483)
OKLCHoklch(62.52% 0.193 309.9)
XYZxyz(33.8459, 21.8844, 70.8337)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EDD #90DD5E
analogous
#6C5EDD #AB5EDD #DD5ED0
triadic
#AB5EDD #DDAB5E #5EDDAB
tetradic
#AB5EDD #DD6C5E #90DD5E #5ED0DD
square
#AB5EDD #DD6C5E #90DD5E #5ED0DD
split-complementary
#AB5EDD #D0DD5E #5EDD6C
monochromatic
#6E229F #902CD2 #AB5EDD #C591E8 #E0C3F2

Accessibility & contrast

On white

3.91
#AB5EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB5EDD#FFFFFF#000000##000000
##AB5EDD1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#327DE1
Deuteranopia (green-blind)
#5082DA
Tritanopia (blue-blind)
#A47595
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab5edd;
/* rgb */ color: rgb(171, 94, 221);
/* oklch */ color: oklch(62.5% 0.193 309.9);
Tailwind
colors: {
  custom: {
    50: '#c78fe8',
    500: '#ab5edd',
    950: '#000000',
  },
}
SCSS
$custom: #ab5edd;
$custom-light: #c78fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5edd",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 221
  },
  "hsl": {
    "h": 276.378,
    "s": 65.128,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6252,
    "c": 0.19346,
    "h": 309.9
  },
  "luminance": 0.21884
}

Semantic roles & 50–950 ramp

primary
#AB5EDD
secondary
#C6E3B4
accent
#CD1960
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB5EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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