#AB74DB#AB74DB

#AB74DB is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.7% C 0.157 H 307.3°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AB74DB
RGBrgb(171, 116, 219)
HSLhsl(272, 59%, 66%)
HSVhsv(272, 47%, 86%)
CMYKcmyk(21.9%, 47%, 0%, 14.1%)
CIE-LABlab(58.29, 40.97, -44.69)
CIE-LCHlch(58.29, 60.63, 312.52°)
OKLaboklab(65.72% 0.095 -0.1248)
OKLCHoklch(65.72% 0.157 307.3)
XYZxyz(35.8236, 26.2635, 70.1863)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74DB #A4DB74
analogous
#7774DB #AB74DB #DB74D7
triadic
#AB74DB #DBAB74 #74DBAB
tetradic
#AB74DB #DB7774 #A4DB74 #74D7DB
square
#AB74DB #DB7774 #A4DB74 #74D7DB
split-complementary
#AB74DB #D7DB74 #74DB77
monochromatic
#6F2CA9 #8E43CE #AB74DB #C8A5E8 #E6D5F4

Accessibility & contrast

On white

3.36
#AB74DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#AB74DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74DB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74DB#FFFFFF#000000##000000
##AB74DB1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#598ADF
Deuteranopia (green-blind)
#688DD8
Tritanopia (blue-blind)
#A4859D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab74db;
/* rgb */ color: rgb(171, 116, 219);
/* oklch */ color: oklch(65.7% 0.157 307.3);
Tailwind
colors: {
  custom: {
    50: '#c69de6',
    500: '#ab74db',
    950: '#000000',
  },
}
SCSS
$custom: #ab74db;
$custom-light: #c69de6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74db",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 272.039,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65724,
    "c": 0.15686,
    "h": 307.3
  },
  "luminance": 0.26263
}

Semantic roles & 50–950 ramp

primary
#AB74DB
secondary
#D4E7C4
accent
#C61F6D
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB74DB

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

Preview Lab → · Contrast checker → · Palette generator →

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