#AB7DF3#AB7DF3

#AB7DF3 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.5% C 0.172 H 299.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#AB7DF3
RGBrgb(171, 125, 243)
HSLhsl(263, 83%, 72%)
HSVhsv(263, 49%, 95%)
CMYKcmyk(29.6%, 48.6%, 0%, 4.7%)
CIE-LABlab(61.48, 41.68, -53.00)
CIE-LCHlch(61.48, 67.42, 308.18°)
OKLaboklab(68.5% 0.0857 -0.1491)
OKLCHoklch(68.5% 0.172 299.9)
XYZxyz(40.3021, 29.7960, 88.4046)
Luminance0.2980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7DF3 #C5F37D
analogous
#7D8AF3 #AB7DF3 #E67DF3
triadic
#AB7DF3 #F3AB7D #7DF3AB
tetradic
#AB7DF3 #F37D8A #C5F37D #7DF3E6
square
#AB7DF3 #F37D8A #C5F37D #7DF3E6
split-complementary
#AB7DF3 #F3E67D #8AF37D
monochromatic
#6415E1 #8745EE #AB7DF3 #CFB5F8 #EDE3FC

Accessibility & contrast

On white

3.02
#AB7DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#AB7DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7DF3
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7DF3#FFFFFF#000000##000000
##AB7DF31.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F7
Deuteranopia (green-blind)
#6294F0
Tritanopia (blue-blind)
#9D93AD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab7df3;
/* rgb */ color: rgb(171, 125, 243);
/* oklch */ color: oklch(68.5% 0.172 299.9);
Tailwind
colors: {
  custom: {
    50: '#c7a3f7',
    500: '#ab7df3',
    950: '#000000',
  },
}
SCSS
$custom: #ab7df3;
$custom-light: #c7a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7df3",
  "rgb": {
    "r": 171,
    "g": 125,
    "b": 243
  },
  "hsl": {
    "h": 263.39,
    "s": 83.099,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68504,
    "c": 0.17195,
    "h": 299.9
  },
  "luminance": 0.29796
}

Semantic roles & 50–950 ramp

primary
#AB7DF3
secondary
#E9F4D7
accent
#E0068B
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB7DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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