#AB5BF1#AB5BF1

#AB5BF1 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.4% C 0.219 H 305.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AB5BF1
RGBrgb(171, 91, 241)
HSLhsl(272, 84%, 65%)
HSVhsv(272, 62%, 95%)
CMYKcmyk(29%, 62.2%, 0%, 5.5%)
CIE-LABlab(54.54, 59.06, -62.98)
CIE-LCHlch(54.54, 86.34, 313.16°)
OKLaboklab(63.37% 0.1274 -0.1783)
OKLCHoklch(63.37% 0.219 305.6)
XYZxyz(36.4094, 22.4912, 85.6252)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BF1 #A1F15B
analogous
#605BF1 #AB5BF1 #F15BEC
triadic
#AB5BF1 #F1AB5B #5BF1AB
tetradic
#AB5BF1 #F1605B #A1F15B #5BECF1
square
#AB5BF1 #F1605B #A1F15B #5BECF1
split-complementary
#AB5BF1 #ECF15B #5BF160
monochromatic
#6F10C1 #8E23EC #AB5BF1 #C893F6 #E5CCFB

Accessibility & contrast

On white

3.82
#AB5BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#AB5BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BF1
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BF1#FFFFFF#000000##000000
##AB5BF11.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#3883EE
Tritanopia (blue-blind)
#9F7A9E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5bf1;
/* rgb */ color: rgb(171, 91, 241);
/* oklch */ color: oklch(63.4% 0.219 305.6);
Tailwind
colors: {
  custom: {
    50: '#c88ef6',
    500: '#ab5bf1',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bf1;
$custom-light: #c88ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bf1",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 272,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63369,
    "c": 0.21912,
    "h": 305.6
  },
  "luminance": 0.22491
}

Semantic roles & 50–950 ramp

primary
#AB5BF1
secondary
#D2EDBA
accent
#E1056B
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D17
muted
#827D85

Preview Lab

Preview with #AB5BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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