#AB95CB#AB95CB

#AB95CB is a light, moderate violet. Relative luminance 0.345; OKLCH L 70.8% C 0.081 H 303.0°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#AB95CB
RGBrgb(171, 149, 203)
HSLhsl(264, 34%, 69%)
HSVhsv(264, 27%, 80%)
CMYKcmyk(15.8%, 26.6%, 0%, 20.4%)
CIE-LABlab(65.33, 18.81, -24.76)
CIE-LCHlch(65.33, 31.10, 307.23°)
OKLaboklab(70.84% 0.0441 -0.0678)
OKLCHoklch(70.84% 0.081 303)
XYZxyz(38.3194, 34.4647, 61.1219)
Luminance0.3447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB95CB #B5CB95
analogous
#959ACB #AB95CB #C695CB
triadic
#AB95CB #CBAB95 #95CBAB
tetradic
#AB95CB #CB959A #B5CB95 #95CBC6
square
#AB95CB #CB959A #B5CB95 #95CBC6
split-complementary
#AB95CB #CBC695 #9ACB95
monochromatic
#6C4C9A #8A6CB7 #AB95CB #CCBEDF #ECE7F3

Accessibility & contrast

On white

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

On black

7.89
#AB95CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB95CB
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB95CB#FFFFFF#000000##000000
##AB95CB1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9ECD
Deuteranopia (green-blind)
#8E9FC9
Tritanopia (blue-blind)
#A69DA8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ab95cb;
/* rgb */ color: rgb(171, 149, 203);
/* oklch */ color: oklch(70.8% 0.081 303.0);
Tailwind
colors: {
  custom: {
    50: '#c4b4db',
    500: '#ab95cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab95cb;
$custom-light: #c4b4db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab95cb",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 203
  },
  "hsl": {
    "h": 264.444,
    "s": 34.177,
    "l": 69.02
  },
  "oklch": {
    "l": 0.7084,
    "c": 0.08088,
    "h": 303
  },
  "luminance": 0.34465
}

Semantic roles & 50–950 ramp

primary
#AB95CB
secondary
#DFE6D6
accent
#AD397E
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AB95CB

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

Preview Lab → · Contrast checker → · Palette generator →

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