#AB5BF8#AB5BF8

#AB5BF8 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.8% C 0.227 H 304.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AB5BF8
RGBrgb(171, 91, 248)
HSLhsl(271, 92%, 66%)
HSVhsv(271, 63%, 97%)
CMYKcmyk(31%, 63.3%, 0%, 2.7%)
CIE-LABlab(54.99, 60.66, -66.16)
CIE-LCHlch(54.99, 89.76, 312.52°)
OKLaboklab(63.83% 0.127 -0.1876)
OKLCHoklch(63.83% 0.227 304.1)
XYZxyz(37.4751, 22.9175, 91.2380)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BF8 #A8F85B
analogous
#5D5BF8 #AB5BF8 #F85BF7
triadic
#AB5BF8 #F8AB5B #5BF8AB
tetradic
#AB5BF8 #F85D5B #A8F85B #5BF7F8
square
#AB5BF8 #F85D5B #A8F85B #5BF7F8
split-complementary
#AB5BF8 #F7F85B #5BF85D
monochromatic
#6E09D0 #8D20F5 #AB5BF8 #C996FB #E7D0FD

Accessibility & contrast

On white

3.76
#AB5BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#AB5BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BF8
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BF8#FFFFFF#000000##000000
##AB5BF81.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FD
Deuteranopia (green-blind)
#2C84F5
Tritanopia (blue-blind)
#9D7DA2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab5bf8;
/* rgb */ color: rgb(171, 91, 248);
/* oklch */ color: oklch(63.8% 0.227 304.1);
Tailwind
colors: {
  custom: {
    50: '#c98efb',
    500: '#ab5bf8',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bf8;
$custom-light: #c98efb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bf8",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 248
  },
  "hsl": {
    "h": 270.573,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6383,
    "c": 0.22656,
    "h": 304.1
  },
  "luminance": 0.22917
}

Semantic roles & 50–950 ramp

primary
#AB5BF8
secondary
#D7F1BE
accent
#E60071
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D17
muted
#827D85

Preview Lab

Preview with #AB5BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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