#AB5FDD#AB5FDD

#AB5FDD is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.7% C 0.192 H 309.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AB5FDD
RGBrgb(171, 95, 221)
HSLhsl(276, 65%, 62%)
HSVhsv(276, 57%, 87%)
CMYKcmyk(22.6%, 57%, 0%, 13.3%)
CIE-LABlab(54.09, 52.58, -52.47)
CIE-LCHlch(54.09, 74.28, 315.06°)
OKLaboklab(62.66% 0.1229 -0.1475)
OKLCHoklch(62.66% 0.192 309.8)
XYZxyz(33.9354, 22.0634, 70.8636)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FDD #91DD5F
analogous
#6C5FDD #AB5FDD #DD5FD0
triadic
#AB5FDD #DDAB5F #5FDDAB
tetradic
#AB5FDD #DD6C5F #91DD5F #5FD0DD
square
#AB5FDD #DD6C5F #91DD5F #5FD0DD
split-complementary
#AB5FDD #D0DD5F #5FDD6C
monochromatic
#6E22A0 #902DD2 #AB5FDD #C591E8 #E0C4F2

Accessibility & contrast

On white

3.88
#AB5FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#AB5FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FDD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FDD#FFFFFF#000000##000000
##AB5FDD1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#347EE1
Deuteranopia (green-blind)
#5183DA
Tritanopia (blue-blind)
#A47695
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab5fdd;
/* rgb */ color: rgb(171, 95, 221);
/* oklch */ color: oklch(62.7% 0.192 309.8);
Tailwind
colors: {
  custom: {
    50: '#c790e8',
    500: '#ab5fdd',
    950: '#000000',
  },
}
SCSS
$custom: #ab5fdd;
$custom-light: #c790e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5fdd",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 276.19,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62659,
    "c": 0.19197,
    "h": 309.8
  },
  "luminance": 0.22063
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB5FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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