#AB91F8#AB91F8

#AB91F8 is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.2% C 0.148 H 294.0°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#AB91F8
RGBrgb(171, 145, 248)
HSLhsl(255, 88%, 77%)
HSVhsv(255, 42%, 97%)
CMYKcmyk(31%, 41.5%, 0%, 2.7%)
CIE-LABlab(66.28, 31.73, -48.15)
CIE-LCHlch(66.28, 57.66, 303.38°)
OKLaboklab(72.19% 0.0601 -0.135)
OKLCHoklch(72.19% 0.148 294)
XYZxyz(43.8590, 35.6853, 93.3660)
Luminance0.3569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB91F8 #DEF891
analogous
#91ABF8 #AB91F8 #DF91F8
triadic
#AB91F8 #F8AB91 #91F8AB
tetradic
#AB91F8 #F891AB #DEF891 #91F8DF
square
#AB91F8 #F891AB #DEF891 #91F8DF
split-complementary
#AB91F8 #F8DF91 #ABF891
monochromatic
#531EF1 #7F57F4 #AB91F8 #D7CBFC #E9E2FD

Accessibility & contrast

On white

2.58
#AB91F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#AB91F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB91F8
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB91F8#FFFFFF#000000##000000
##AB91F81.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FC
Deuteranopia (green-blind)
#759FF5
Tritanopia (blue-blind)
#9AA4B9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ab91f8;
/* rgb */ color: rgb(171, 145, 248);
/* oklch */ color: oklch(72.2% 0.148 294.0);
Tailwind
colors: {
  custom: {
    50: '#c6b1fb',
    500: '#ab91f8',
    950: '#000000',
  },
}
SCSS
$custom: #ab91f8;
$custom-light: #c6b1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab91f8",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 248
  },
  "hsl": {
    "h": 255.146,
    "s": 88.034,
    "l": 77.059
  },
  "oklch": {
    "l": 0.72194,
    "c": 0.14775,
    "h": 294
  },
  "luminance": 0.35686
}

Semantic roles & 50–950 ramp

primary
#AB91F8
secondary
#EDF5D6
accent
#E501AB
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131017
muted
#827F85

Preview Lab

Preview with #AB91F8

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

Preview Lab → · Contrast checker → · Palette generator →

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