#AB91C2#AB91C2

#AB91C2 is a light, moderate violet. Relative luminance 0.328; OKLCH L 69.7% C 0.076 H 308.6°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#AB91C2
RGBrgb(171, 145, 194)
HSLhsl(272, 29%, 66%)
HSVhsv(272, 25%, 76%)
CMYKcmyk(11.9%, 25.3%, 0%, 23.9%)
CIE-LABlab(64.00, 19.11, -21.76)
CIE-LCHlch(64.00, 28.96, 311.29°)
OKLaboklab(69.71% 0.0473 -0.0593)
OKLCHoklch(69.71% 0.076 308.6)
XYZxyz(36.6558, 32.8040, 55.4292)
Luminance0.3280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB91C2 #A8C291
analogous
#9391C2 #AB91C2 #C291C1
triadic
#AB91C2 #C2AB91 #91C2AB
tetradic
#AB91C2 #C29391 #A8C291 #91C1C2
square
#AB91C2 #C29391 #A8C291 #91C1C2
split-complementary
#AB91C2 #C1C291 #91C293
monochromatic
#6E4D8B #8D6AAC #AB91C2 #C9B8D8 #E7E0EE

Accessibility & contrast

On white

2.78
#AB91C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#AB91C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB91C2
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB91C2#FFFFFF#000000##000000
##AB91C21.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#899AC4
Deuteranopia (green-blind)
#8E9BC0
Tritanopia (blue-blind)
#A897A2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab91c2;
/* rgb */ color: rgb(171, 145, 194);
/* oklch */ color: oklch(69.7% 0.076 308.6);
Tailwind
colors: {
  custom: {
    50: '#c4b1d4',
    500: '#ab91c2',
    950: '#000000',
  },
}
SCSS
$custom: #ab91c2;
$custom-light: #c4b1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab91c2",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 194
  },
  "hsl": {
    "h": 271.837,
    "s": 28.655,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69708,
    "c": 0.0759,
    "h": 308.6
  },
  "luminance": 0.32804
}

Semantic roles & 50–950 ramp

primary
#AB91C2
secondary
#D7DFCF
accent
#A73E70
background
#FCFAFD
surface
#F8F5FA
border
#D1CFD3
text
#121014
muted
#817F83

Preview Lab

Preview with #AB91C2

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

Preview Lab → · Contrast checker → · Palette generator →

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