#AB5DDE#AB5DDE

#AB5DDE is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.4% C 0.196 H 309.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AB5DDE
RGBrgb(171, 93, 222)
HSLhsl(276, 66%, 62%)
HSVhsv(276, 58%, 87%)
CMYKcmyk(23%, 58.1%, 0%, 12.9%)
CIE-LABlab(53.77, 53.81, -53.55)
CIE-LCHlch(53.77, 75.91, 315.14°)
OKLaboklab(62.44% 0.1254 -0.1506)
OKLCHoklch(62.44% 0.196 309.8)
XYZxyz(33.8912, 21.7612, 71.5080)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5DDE #90DE5D
analogous
#6B5DDE #AB5DDE #DE5DD1
triadic
#AB5DDE #DEAB5D #5DDEAB
tetradic
#AB5DDE #DE6B5D #90DE5D #5DD1DE
square
#AB5DDE #DE6B5D #90DE5D #5DD1DE
split-complementary
#AB5DDE #D1DE5D #5DDE6B
monochromatic
#6E21A0 #902BD3 #AB5DDE #C590E8 #E0C3F3

Accessibility & contrast

On white

3.92
#AB5DDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#AB5DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5DDE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5DDE#FFFFFF#000000##000000
##AB5DDE1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7DE2
Deuteranopia (green-blind)
#4F82DB
Tritanopia (blue-blind)
#A47595
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5dde;
/* rgb */ color: rgb(171, 93, 222);
/* oklch */ color: oklch(62.4% 0.196 309.8);
Tailwind
colors: {
  custom: {
    50: '#c78ee9',
    500: '#ab5dde',
    950: '#000000',
  },
}
SCSS
$custom: #ab5dde;
$custom-light: #c78ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5dde",
  "rgb": {
    "r": 171,
    "g": 93,
    "b": 222
  },
  "hsl": {
    "h": 276.279,
    "s": 66.154,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62443,
    "c": 0.19601,
    "h": 309.8
  },
  "luminance": 0.21761
}

Semantic roles & 50–950 ramp

primary
#AB5DDE
secondary
#C6E3B4
accent
#CE1760
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #AB5DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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