#AB95DB#AB95DB

#AB95DB is a light, moderate violet. Relative luminance 0.353; OKLCH L 71.5% C 0.103 H 298.2°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#AB95DB
RGBrgb(171, 149, 219)
HSLhsl(259, 49%, 72%)
HSVhsv(259, 32%, 86%)
CMYKcmyk(21.9%, 32%, 0%, 14.1%)
CIE-LABlab(65.96, 22.45, -32.69)
CIE-LCHlch(65.96, 39.65, 304.48°)
OKLaboklab(71.53% 0.0485 -0.0903)
OKLCHoklch(71.53% 0.103 298.2)
XYZxyz(40.3254, 35.2671, 71.6868)
Luminance0.3527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB95DB #C5DB95
analogous
#95A2DB #AB95DB #CE95DB
triadic
#AB95DB #DBAB95 #95DBAB
tetradic
#AB95DB #DB95A2 #C5DB95 #95DBCE
square
#AB95DB #DB95A2 #C5DB95 #95DBCE
split-complementary
#AB95DB #DBCE95 #A2DB95
monochromatic
#643EB7 #8767CB #AB95DB #CFC3EB #EDE8F7

Accessibility & contrast

On white

2.61
#AB95DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#AB95DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB95DB
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB95DB#FFFFFF#000000##000000
##AB95DB1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A0DE
Deuteranopia (green-blind)
#88A0D9
Tritanopia (blue-blind)
#A2A0AE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ab95db;
/* rgb */ color: rgb(171, 149, 219);
/* oklch */ color: oklch(71.5% 0.103 298.2);
Tailwind
colors: {
  custom: {
    50: '#c5b4e6',
    500: '#ab95db',
    950: '#000000',
  },
}
SCSS
$custom: #ab95db;
$custom-light: #c5b4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab95db",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 219
  },
  "hsl": {
    "h": 258.857,
    "s": 49.296,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71528,
    "c": 0.10253,
    "h": 298.2
  },
  "luminance": 0.35267
}

Semantic roles & 50–950 ramp

primary
#AB95DB
secondary
#E9EEDD
accent
#BD298E
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AB95DB

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

Preview Lab → · Contrast checker → · Palette generator →

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