#AB5BFC#AB5BFC

#AB5BFC is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.1% C 0.231 H 303.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AB5BFC
RGBrgb(171, 91, 252)
HSLhsl(270, 96%, 67%)
HSVhsv(270, 64%, 99%)
CMYKcmyk(32.1%, 63.9%, 0%, 1.2%)
CIE-LABlab(55.25, 61.58, -67.97)
CIE-LCHlch(55.25, 91.71, 312.18°)
OKLaboklab(64.1% 0.1267 -0.1929)
OKLCHoklch(64.1% 0.231 303.3)
XYZxyz(38.1023, 23.1684, 94.5412)
Luminance0.2317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BFC #ACFC5B
analogous
#5B5BFC #AB5BFC #FC5BFC
triadic
#AB5BFC #FCAB5B #5BFCAB
tetradic
#AB5BFC #FC5B5B #ACFC5B #5BFCFC
square
#AB5BFC #FC5B5B #ACFC5B #5BFCFC
split-complementary
#AB5BFC #FCFC5B #5BFC5B
monochromatic
#6E04D9 #8C1FFB #AB5BFC #CA97FD #E9D3FE

Accessibility & contrast

On white

3.73
#AB5BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#AB5BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BFC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BFC#FFFFFF#000000##000000
##AB5BFC1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#2484F8
Tritanopia (blue-blind)
#9B7EA4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab5bfc;
/* rgb */ color: rgb(171, 91, 252);
/* oklch */ color: oklch(64.1% 0.231 303.3);
Tailwind
colors: {
  custom: {
    50: '#c98efe',
    500: '#ab5bfc',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bfc;
$custom-light: #c98efe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bfc",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 252
  },
  "hsl": {
    "h": 269.814,
    "s": 96.407,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64098,
    "c": 0.23079,
    "h": 303.3
  },
  "luminance": 0.23168
}

Semantic roles & 50–950 ramp

primary
#AB5BFC
secondary
#DAF3C0
accent
#E60073
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D18
muted
#827D86

Preview Lab

Preview with #AB5BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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