#AB91CA#AB91CA

#AB91CA is a light, moderate violet. Relative luminance 0.332; OKLCH L 70.0% C 0.086 H 305.1°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#AB91CA
RGBrgb(171, 145, 202)
HSLhsl(267, 35%, 68%)
HSVhsv(267, 28%, 79%)
CMYKcmyk(15.3%, 28.2%, 0%, 20.8%)
CIE-LABlab(64.30, 20.85, -25.78)
CIE-LCHlch(64.30, 33.16, 308.96°)
OKLaboklab(70.04% 0.0497 -0.0707)
OKLCHoklch(70.04% 0.086 305.1)
XYZxyz(37.5786, 33.1731, 60.2890)
Luminance0.3317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB91CA #B0CA91
analogous
#9193CA #AB91CA #C791CA
triadic
#AB91CA #CAAB91 #91CAAB
tetradic
#AB91CA #CA9193 #B0CA91 #91CAC7
square
#AB91CA #CA9193 #B0CA91 #91CAC7
split-complementary
#AB91CA #CAC791 #93CA91
monochromatic
#6D4998 #8B68B6 #AB91CA #CBBADE #EAE4F2

Accessibility & contrast

On white

2.75
#AB91CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#AB91CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB91CA
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB91CA#FFFFFF#000000##000000
##AB91CA1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#869BCC
Deuteranopia (green-blind)
#8B9CC8
Tritanopia (blue-blind)
#A799A5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab91ca;
/* rgb */ color: rgb(171, 145, 202);
/* oklch */ color: oklch(70.0% 0.086 305.1);
Tailwind
colors: {
  custom: {
    50: '#c4b1da',
    500: '#ab91ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab91ca;
$custom-light: #c4b1da;
$custom-dark: #000000;
JSON
{
  "hex": "#ab91ca",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 202
  },
  "hsl": {
    "h": 267.368,
    "s": 34.969,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70037,
    "c": 0.08639,
    "h": 305.1
  },
  "luminance": 0.33173
}

Semantic roles & 50–950 ramp

primary
#AB91CA
secondary
#DCE4D3
accent
#AE3878
background
#FCFAFD
surface
#F8F5FA
border
#D1CFD3
text
#131014
muted
#827F83

Preview Lab

Preview with #AB91CA

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

Preview Lab → · Contrast checker → · Palette generator →

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