#AB4DDB#AB4DDB

#AB4DDB is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.2% C 0.215 H 312.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AB4DDB
RGBrgb(171, 77, 219)
HSLhsl(280, 66%, 58%)
HSVhsv(280, 65%, 86%)
CMYKcmyk(21.9%, 64.8%, 0%, 14.1%)
CIE-LABlab(50.78, 60.82, -56.64)
CIE-LCHlch(50.78, 83.11, 317.04°)
OKLaboklab(60.22% 0.1445 -0.1596)
OKLCHoklch(60.22% 0.215 312.2)
XYZxyz(32.2323, 19.0810, 68.9892)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DDB #7DDB4D
analogous
#644DDB #AB4DDB #DB4DC4
triadic
#AB4DDB #DBAB4D #4DDBAB
tetradic
#AB4DDB #DB644D #7DDB4D #4DC4DB
square
#AB4DDB #DB644D #7DDB4D #4DC4DB
split-complementary
#AB4DDB #C4DB4D #4DDB64
monochromatic
#691D90 #8F27C3 #AB4DDB #C380E5 #DBB3F0

Accessibility & contrast

On white

4.36
#AB4DDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#AB4DDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4DDB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DDB#FFFFFF#000000##000000
##AB4DDB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#407BD8
Tritanopia (blue-blind)
#A6698E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4ddb;
/* rgb */ color: rgb(171, 77, 219);
/* oklch */ color: oklch(60.2% 0.215 312.2);
Tailwind
colors: {
  custom: {
    50: '#c885e7',
    500: '#ab4ddb',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ddb;
$custom-light: #c885e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ddb",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 279.718,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60217,
    "c": 0.21527,
    "h": 312.2
  },
  "luminance": 0.1908
}

Semantic roles & 50–950 ramp

primary
#AB4DDB
secondary
#B9DEA6
accent
#E93F78
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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