#AB94CA#AB94CA

#AB94CA is a light, moderate violet. Relative luminance 0.341; OKLCH L 70.6% C 0.081 H 303.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#AB94CA
RGBrgb(171, 148, 202)
HSLhsl(266, 34%, 69%)
HSVhsv(266, 27%, 79%)
CMYKcmyk(15.3%, 26.7%, 0%, 20.8%)
CIE-LABlab(65.04, 19.16, -24.64)
CIE-LCHlch(65.04, 31.21, 307.86°)
OKLaboklab(70.61% 0.0453 -0.0675)
OKLCHoklch(70.61% 0.081 303.9)
XYZxyz(38.0431, 34.1021, 60.4438)
Luminance0.3410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB94CA #B3CA94
analogous
#9498CA #AB94CA #C694CA
triadic
#AB94CA #CAAB94 #94CAAB
tetradic
#AB94CA #CA9498 #B3CA94 #94CAC6
square
#AB94CA #CA9498 #B3CA94 #94CAC6
split-complementary
#AB94CA #CAC694 #98CA94
monochromatic
#6C4B98 #8B6BB6 #AB94CA #CBBDDE #EBE6F3

Accessibility & contrast

On white

2.69
#AB94CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#AB94CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB94CA
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB94CA#FFFFFF#000000##000000
##AB94CA1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9DCC
Deuteranopia (green-blind)
#8E9EC8
Tritanopia (blue-blind)
#A69CA7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ab94ca;
/* rgb */ color: rgb(171, 148, 202);
/* oklch */ color: oklch(70.6% 0.081 303.9);
Tailwind
colors: {
  custom: {
    50: '#c4b3da',
    500: '#ab94ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab94ca;
$custom-light: #c4b3da;
$custom-dark: #000000;
JSON
{
  "hex": "#ab94ca",
  "rgb": {
    "r": 171,
    "g": 148,
    "b": 202
  },
  "hsl": {
    "h": 265.556,
    "s": 33.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70608,
    "c": 0.08124,
    "h": 303.9
  },
  "luminance": 0.34102
}

Semantic roles & 50–950 ramp

primary
#AB94CA
secondary
#DEE5D5
accent
#AD397B
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131114
muted
#828083

Preview Lab

Preview with #AB94CA

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

Preview Lab → · Contrast checker → · Palette generator →

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