#AB7DDD#AB7DDD

#AB7DDD is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.3% C 0.145 H 304.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AB7DDD
RGBrgb(171, 125, 221)
HSLhsl(269, 59%, 68%)
HSVhsv(269, 43%, 87%)
CMYKcmyk(22.6%, 43.4%, 0%, 13.3%)
CIE-LABlab(60.38, 36.44, -42.51)
CIE-LCHlch(60.38, 55.99, 310.61°)
OKLaboklab(67.32% 0.0828 -0.1186)
OKLCHoklch(67.32% 0.145 304.9)
XYZxyz(37.1766, 28.5458, 71.9440)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7DDD #AFDD7D
analogous
#7D7FDD #AB7DDD #DB7DDD
triadic
#AB7DDD #DDAB7D #7DDDAB
tetradic
#AB7DDD #DD7D7F #AFDD7D #7DDDDB
square
#AB7DDD #DD7D7F #AFDD7D #7DDDDB
split-complementary
#AB7DDD #DDDB7D #7FDD7D
monochromatic
#6D2EB1 #8C4CD0 #AB7DDD #CAAEEA #EADEF6

Accessibility & contrast

On white

3.13
#AB7DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#AB7DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7DDD
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7DDD#FFFFFF#000000##000000
##AB7DDD1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6590E1
Deuteranopia (green-blind)
#7092DA
Tritanopia (blue-blind)
#A38DA2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab7ddd;
/* rgb */ color: rgb(171, 125, 221);
/* oklch */ color: oklch(67.3% 0.145 304.9);
Tailwind
colors: {
  custom: {
    50: '#c6a3e8',
    500: '#ab7ddd',
    950: '#000000',
  },
}
SCSS
$custom: #ab7ddd;
$custom-light: #c6a3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7ddd",
  "rgb": {
    "r": 171,
    "g": 125,
    "b": 221
  },
  "hsl": {
    "h": 268.75,
    "s": 58.537,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67323,
    "c": 0.14461,
    "h": 304.9
  },
  "luminance": 0.28546
}

Semantic roles & 50–950 ramp

primary
#AB7DDD
secondary
#DCEACC
accent
#C61F76
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AB7DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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