#AB94CB#AB94CB

#AB94CB is a light, moderate violet. Relative luminance 0.342; OKLCH L 70.6% C 0.083 H 303.5°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#AB94CB
RGBrgb(171, 148, 203)
HSLhsl(265, 35%, 69%)
HSVhsv(265, 27%, 80%)
CMYKcmyk(15.8%, 27.1%, 0%, 20.4%)
CIE-LABlab(65.08, 19.38, -25.14)
CIE-LCHlch(65.08, 31.74, 307.62°)
OKLaboklab(70.65% 0.0456 -0.0689)
OKLCHoklch(70.65% 0.083 303.5)
XYZxyz(38.1618, 34.1496, 61.0694)
Luminance0.3415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB94CB #B4CB94
analogous
#9499CB #AB94CB #C794CB
triadic
#AB94CB #CBAB94 #94CBAB
tetradic
#AB94CB #CB9499 #B4CB94 #94CBC7
square
#AB94CB #CB9499 #B4CB94 #94CBC7
split-complementary
#AB94CB #CBC794 #99CB94
monochromatic
#6C4B9A #8B6BB7 #AB94CB #CBBDDF #ECE6F3

Accessibility & contrast

On white

2.68
#AB94CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#AB94CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB94CB
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB94CB#FFFFFF#000000##000000
##AB94CB1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#899DCD
Deuteranopia (green-blind)
#8D9EC9
Tritanopia (blue-blind)
#A69CA7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ab94cb;
/* rgb */ color: rgb(171, 148, 203);
/* oklch */ color: oklch(70.6% 0.083 303.5);
Tailwind
colors: {
  custom: {
    50: '#c4b3db',
    500: '#ab94cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab94cb;
$custom-light: #c4b3db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab94cb",
  "rgb": {
    "r": 171,
    "g": 148,
    "b": 203
  },
  "hsl": {
    "h": 265.091,
    "s": 34.591,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70649,
    "c": 0.08258,
    "h": 303.5
  },
  "luminance": 0.3415
}

Semantic roles & 50–950 ramp

primary
#AB94CB
secondary
#DFE6D5
accent
#AD387C
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AB94CB

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

Preview Lab → · Contrast checker → · Palette generator →

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