#AB95CA#AB95CA

#AB95CA is a light, moderate violet. Relative luminance 0.344; OKLCH L 70.8% C 0.080 H 303.4°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#AB95CA
RGBrgb(171, 149, 202)
HSLhsl(265, 33%, 69%)
HSVhsv(265, 26%, 79%)
CMYKcmyk(15.3%, 26.2%, 0%, 20.8%)
CIE-LABlab(65.29, 18.59, -24.26)
CIE-LCHlch(65.29, 30.56, 307.46°)
OKLaboklab(70.8% 0.0438 -0.0664)
OKLCHoklch(70.8% 0.08 303.4)
XYZxyz(38.2006, 34.4171, 60.4963)
Luminance0.3442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB95CA #B4CA95
analogous
#959ACA #AB95CA #C695CA
triadic
#AB95CA #CAAB95 #95CAAB
tetradic
#AB95CA #CA959A #B4CA95 #95CAC6
square
#AB95CA #CA959A #B4CA95 #95CAC6
split-complementary
#AB95CA #CAC695 #9ACA95
monochromatic
#6C4C98 #8B6CB6 #AB95CA #CBBEDE #ECE7F3

Accessibility & contrast

On white

2.66
#AB95CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#AB95CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB95CA
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB95CA#FFFFFF#000000##000000
##AB95CA1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9ECC
Deuteranopia (green-blind)
#8F9EC8
Tritanopia (blue-blind)
#A69DA8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ab95ca;
/* rgb */ color: rgb(171, 149, 202);
/* oklch */ color: oklch(70.8% 0.080 303.4);
Tailwind
colors: {
  custom: {
    50: '#c4b4da',
    500: '#ab95ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab95ca;
$custom-light: #c4b4da;
$custom-dark: #000000;
JSON
{
  "hex": "#ab95ca",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 202
  },
  "hsl": {
    "h": 264.906,
    "s": 33.333,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70799,
    "c": 0.07954,
    "h": 303.4
  },
  "luminance": 0.34417
}

Semantic roles & 50–950 ramp

primary
#AB95CA
secondary
#DFE5D6
accent
#AC397C
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131114
muted
#828083

Preview Lab

Preview with #AB95CA

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

Preview Lab → · Contrast checker → · Palette generator →

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