#AB91F2#AB91F2

#AB91F2 is a light, vivid violet. Relative luminance 0.353; OKLCH L 71.9% C 0.140 H 295.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#AB91F2
RGBrgb(171, 145, 242)
HSLhsl(256, 79%, 76%)
HSVhsv(256, 40%, 95%)
CMYKcmyk(29.3%, 40.1%, 0%, 5.1%)
CIE-LABlab(66.00, 30.24, -45.31)
CIE-LCHlch(66.00, 54.47, 303.72°)
OKLaboklab(71.89% 0.059 -0.1267)
OKLCHoklch(71.89% 0.14 295)
XYZxyz(42.9431, 35.3189, 88.5420)
Luminance0.3532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB91F2 #D8F291
analogous
#91A7F2 #AB91F2 #DB91F2
triadic
#AB91F2 #F2AB91 #91F2AB
tetradic
#AB91F2 #F291A7 #D8F291 #91F2DB
square
#AB91F2 #F291A7 #D8F291 #91F2DB
split-complementary
#AB91F2 #F2DB91 #A7F291
monochromatic
#5724E5 #815AEC #AB91F2 #D5C8F8 #EAE4FC

Accessibility & contrast

On white

2.60
#AB91F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#AB91F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB91F2
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB91F2#FFFFFF#000000##000000
##AB91F21.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F6
Deuteranopia (green-blind)
#799FF0
Tritanopia (blue-blind)
#9CA2B6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ab91f2;
/* rgb */ color: rgb(171, 145, 242);
/* oklch */ color: oklch(71.9% 0.140 295.0);
Tailwind
colors: {
  custom: {
    50: '#c6b1f7',
    500: '#ab91f2',
    950: '#000000',
  },
}
SCSS
$custom: #ab91f2;
$custom-light: #c6b1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab91f2",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 242
  },
  "hsl": {
    "h": 256.082,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71888,
    "c": 0.13979,
    "h": 295
  },
  "luminance": 0.3532
}

Semantic roles & 50–950 ramp

primary
#AB91F2
secondary
#ECF4D7
accent
#DB0AA3
background
#FCFAFF
surface
#F8F5FE
border
#D1CFD6
text
#131017
muted
#827F85

Preview Lab

Preview with #AB91F2

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

Preview Lab → · Contrast checker → · Palette generator →

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