#AB91DF#AB91DF

#AB91DF is a light, moderate violet. Relative luminance 0.342; OKLCH L 71.0% C 0.114 H 298.8°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#AB91DF
RGBrgb(171, 145, 223)
HSLhsl(260, 55%, 72%)
HSVhsv(260, 35%, 87%)
CMYKcmyk(23.3%, 35%, 0%, 12.5%)
CIE-LABlab(65.15, 25.65, -36.15)
CIE-LCHlch(65.15, 44.33, 305.35°)
OKLaboklab(70.97% 0.0551 -0.1003)
OKLCHoklch(70.97% 0.114 298.8)
XYZxyz(40.2363, 34.2362, 74.2862)
Luminance0.3424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB91DF #C5DF91
analogous
#919EDF #AB91DF #D291DF
triadic
#AB91DF #DFAB91 #91DFAB
tetradic
#AB91DF #DF919E #C5DF91 #91DFD2
square
#AB91DF #DF919E #C5DF91 #91DFD2
split-complementary
#AB91DF #DFD291 #9EDF91
monochromatic
#6437BE #8762D1 #AB91DF #CFC0ED #EDE7F8

Accessibility & contrast

On white

2.68
#AB91DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#AB91DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB91DF
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB91DF#FFFFFF#000000##000000
##AB91DF1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9EE2
Deuteranopia (green-blind)
#829DDD
Tritanopia (blue-blind)
#A19EAE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ab91df;
/* rgb */ color: rgb(171, 145, 223);
/* oklch */ color: oklch(71.0% 0.114 298.8);
Tailwind
colors: {
  custom: {
    50: '#c5b1e9',
    500: '#ab91df',
    950: '#000000',
  },
}
SCSS
$custom: #ab91df;
$custom-light: #c5b1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab91df",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 223
  },
  "hsl": {
    "h": 260,
    "s": 54.93,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70966,
    "c": 0.11442,
    "h": 298.8
  },
  "luminance": 0.34236
}

Semantic roles & 50–950 ramp

primary
#AB91DF
secondary
#E9EFDC
accent
#C2238D
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131016
muted
#827F84

Preview Lab

Preview with #AB91DF

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

Preview Lab → · Contrast checker → · Palette generator →

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