#AB4DDD#AB4DDD

#AB4DDD is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.3% C 0.217 H 311.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AB4DDD
RGBrgb(171, 77, 221)
HSLhsl(279, 68%, 58%)
HSVhsv(279, 65%, 87%)
CMYKcmyk(22.6%, 65.2%, 0%, 13.3%)
CIE-LABlab(50.91, 61.24, -57.58)
CIE-LCHlch(50.91, 84.06, 316.77°)
OKLaboklab(60.35% 0.1444 -0.1623)
OKLCHoklch(60.35% 0.217 311.6)
XYZxyz(32.4972, 19.1869, 70.3841)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DDD #7FDD4D
analogous
#634DDD #AB4DDD #DD4DC7
triadic
#AB4DDD #DDAB4D #4DDDAB
tetradic
#AB4DDD #DD634D #7FDD4D #4DC7DD
square
#AB4DDD #DD634D #7FDD4D #4DC7DD
split-complementary
#AB4DDD #C7DD4D #4DDD63
monochromatic
#6A1C93 #8F26C7 #AB4DDD #C380E7 #DBB4F1

Accessibility & contrast

On white

4.34
#AB4DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#AB4DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4DDD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DDD#FFFFFF#000000##000000
##AB4DDD1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#3E7BDA
Tritanopia (blue-blind)
#A56A8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4ddd;
/* rgb */ color: rgb(171, 77, 221);
/* oklch */ color: oklch(60.3% 0.217 311.6);
Tailwind
colors: {
  custom: {
    50: '#c885e8',
    500: '#ab4ddd',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ddd;
$custom-light: #c885e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ddd",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 279.167,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60345,
    "c": 0.21724,
    "h": 311.6
  },
  "luminance": 0.19186
}

Semantic roles & 50–950 ramp

primary
#AB4DDD
secondary
#BADFA6
accent
#EB3D79
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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