#AB94DE#AB94DE

#AB94DE is a light, moderate violet. Relative luminance 0.351; OKLCH L 71.5% C 0.108 H 297.9°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#AB94DE
RGBrgb(171, 148, 222)
HSLhsl(259, 53%, 73%)
HSVhsv(259, 33%, 87%)
CMYKcmyk(23%, 33.3%, 0%, 12.9%)
CIE-LABlab(65.84, 23.72, -34.53)
CIE-LCHlch(65.84, 41.89, 304.48°)
OKLaboklab(71.48% 0.0506 -0.0956)
OKLCHoklch(71.48% 0.108 297.9)
XYZxyz(40.5663, 35.1114, 73.7331)
Luminance0.3511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB94DE #C7DE94
analogous
#94A2DE #AB94DE #D094DE
triadic
#AB94DE #DEAB94 #94DEAB
tetradic
#AB94DE #DE94A2 #C7DE94 #94DED0
square
#AB94DE #DE94A2 #C7DE94 #94DED0
split-complementary
#AB94DE #DED094 #A2DE94
monochromatic
#633ABD #8665D0 #AB94DE #D0C3EC #EDE8F8

Accessibility & contrast

On white

2.62
#AB94DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#AB94DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB94DE
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB94DE#FFFFFF#000000##000000
##AB94DE1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A0E1
Deuteranopia (green-blind)
#869FDC
Tritanopia (blue-blind)
#A1A0AF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ab94de;
/* rgb */ color: rgb(171, 148, 222);
/* oklch */ color: oklch(71.5% 0.108 297.9);
Tailwind
colors: {
  custom: {
    50: '#c5b3e8',
    500: '#ab94de',
    950: '#000000',
  },
}
SCSS
$custom: #ab94de;
$custom-light: #c5b3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab94de",
  "rgb": {
    "r": 171,
    "g": 148,
    "b": 222
  },
  "hsl": {
    "h": 258.649,
    "s": 52.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71476,
    "c": 0.10821,
    "h": 297.9
  },
  "luminance": 0.35112
}

Semantic roles & 50–950 ramp

primary
#AB94DE
secondary
#E9EFDC
accent
#C02590
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AB94DE

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

Preview Lab → · Contrast checker → · Palette generator →

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