#AB5EDE#AB5EDE

#AB5EDE is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.6% C 0.195 H 309.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AB5EDE
RGBrgb(171, 94, 222)
HSLhsl(276, 66%, 62%)
HSVhsv(276, 58%, 87%)
CMYKcmyk(23%, 57.7%, 0%, 12.9%)
CIE-LABlab(53.96, 53.31, -53.25)
CIE-LCHlch(53.96, 75.35, 315.03°)
OKLaboklab(62.58% 0.1242 -0.1497)
OKLCHoklch(62.58% 0.195 309.7)
XYZxyz(33.9796, 21.9379, 71.5375)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EDE #91DE5E
analogous
#6B5EDE #AB5EDE #DE5ED1
triadic
#AB5EDE #DEAB5E #5EDEAB
tetradic
#AB5EDE #DE6B5E #91DE5E #5ED1DE
square
#AB5EDE #DE6B5E #91DE5E #5ED1DE
split-complementary
#AB5EDE #D1DE5E #5EDE6B
monochromatic
#6E21A1 #902BD3 #AB5EDE #C591E8 #E0C4F3

Accessibility & contrast

On white

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

On black

5.39
#AB5EDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EDE
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EDE#FFFFFF#000000##000000
##AB5EDE1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#317EE2
Deuteranopia (green-blind)
#5082DB
Tritanopia (blue-blind)
#A47695
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab5ede;
/* rgb */ color: rgb(171, 94, 222);
/* oklch */ color: oklch(62.6% 0.195 309.7);
Tailwind
colors: {
  custom: {
    50: '#c78fe9',
    500: '#ab5ede',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ede;
$custom-light: #c78fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ede",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 222
  },
  "hsl": {
    "h": 276.094,
    "s": 65.979,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6258,
    "c": 0.19454,
    "h": 309.7
  },
  "luminance": 0.21937
}

Semantic roles & 50–950 ramp

primary
#AB5EDE
secondary
#C7E4B4
accent
#CE1860
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB5EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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