#AB4BDD#AB4BDD

#AB4BDD is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.1% C 0.220 H 311.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AB4BDD
RGBrgb(171, 75, 221)
HSLhsl(279, 68%, 58%)
HSVhsv(279, 66%, 87%)
CMYKcmyk(22.6%, 66.1%, 0%, 13.3%)
CIE-LABlab(50.58, 62.14, -58.09)
CIE-LCHlch(50.58, 85.06, 316.93°)
OKLaboklab(60.11% 0.1466 -0.1638)
OKLCHoklch(60.11% 0.22 311.8)
XYZxyz(32.3594, 18.9114, 70.3382)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BDD #7DDD4B
analogous
#624BDD #AB4BDD #DD4BC6
triadic
#AB4BDD #DDAB4B #4BDDAB
tetradic
#AB4BDD #DD624B #7DDD4B #4BC6DD
square
#AB4BDD #DD624B #7DDD4B #4BC6DD
split-complementary
#AB4BDD #C6DD4B #4BDD62
monochromatic
#691C92 #8F25C5 #AB4BDD #C37EE7 #DBB2F0

Accessibility & contrast

On white

4.39
#AB4BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#AB4BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4BDD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BDD#FFFFFF#000000##000000
##AB4BDD1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#3C7ADA
Tritanopia (blue-blind)
#A5698E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4bdd;
/* rgb */ color: rgb(171, 75, 221);
/* oklch */ color: oklch(60.1% 0.220 311.8);
Tailwind
colors: {
  custom: {
    50: '#c884e8',
    500: '#ab4bdd',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bdd;
$custom-light: #c884e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bdd",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 279.452,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60113,
    "c": 0.21983,
    "h": 311.8
  },
  "luminance": 0.18911
}

Semantic roles & 50–950 ramp

primary
#AB4BDD
secondary
#B9DFA5
accent
#EB3D78
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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