#AB95BC#AB95BC

#AB95BC is a light, moderate violet. Relative luminance 0.338; OKLCH L 70.2% C 0.061 H 310.2°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#AB95BC
RGBrgb(171, 149, 188)
HSLhsl(274, 23%, 66%)
HSVhsv(274, 21%, 74%)
CMYKcmyk(9%, 20.7%, 0%, 26.3%)
CIE-LABlab(64.79, 15.58, -17.20)
CIE-LCHlch(64.79, 23.21, 312.19°)
OKLaboklab(70.25% 0.0394 -0.0466)
OKLCHoklch(70.25% 0.061 310.2)
XYZxyz(36.6176, 33.7839, 52.1591)
Luminance0.3378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB95BC #A6BC95
analogous
#9795BC #AB95BC #BC95B9
triadic
#AB95BC #BCAB95 #95BCAB
tetradic
#AB95BC #BC9795 #A6BC95 #95B9BC
square
#AB95BC #BC9795 #A6BC95 #95B9BC
split-complementary
#AB95BC #B9BC95 #95BC97
monochromatic
#6E5383 #8D70A4 #AB95BC #C9BAD4 #E6E0EB

Accessibility & contrast

On white

2.71
#AB95BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#AB95BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB95BC
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB95BC#FFFFFF#000000##000000
##AB95BC1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F9CBE
Deuteranopia (green-blind)
#939EBB
Tritanopia (blue-blind)
#A99AA2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ab95bc;
/* rgb */ color: rgb(171, 149, 188);
/* oklch */ color: oklch(70.2% 0.061 310.2);
Tailwind
colors: {
  custom: {
    50: '#c4b4d0',
    500: '#ab95bc',
    950: '#000000',
  },
}
SCSS
$custom: #ab95bc;
$custom-light: #c4b4d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab95bc",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 188
  },
  "hsl": {
    "h": 273.846,
    "s": 22.543,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70246,
    "c": 0.06102,
    "h": 310.2
  },
  "luminance": 0.33784
}

Semantic roles & 50–950 ramp

primary
#AB95BC
secondary
#D6DDD0
accent
#A1456D
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#121114
muted
#818082

Preview Lab

Preview with #AB95BC

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

Preview Lab → · Contrast checker → · Palette generator →

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