#AB74BC#AB74BC

#AB74BC is a light, vivid purple. Relative luminance 0.248; OKLCH L 64.2% C 0.120 H 318.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AB74BC
RGBrgb(171, 116, 188)
HSLhsl(286, 35%, 60%)
HSVhsv(286, 38%, 74%)
CMYKcmyk(9%, 38.3%, 0%, 26.3%)
CIE-LABlab(56.86, 34.20, -29.35)
CIE-LCHlch(56.86, 45.07, 319.36°)
OKLaboklab(64.19% 0.0895 -0.0806)
OKLCHoklch(64.19% 0.12 318)
XYZxyz(32.1158, 24.7804, 50.6585)
Luminance0.2478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74BC #85BC74
analogous
#8774BC #AB74BC #BC74A9
triadic
#AB74BC #BCAB74 #74BCAB
tetradic
#AB74BC #BC8774 #85BC74 #74A9BC
square
#AB74BC #BC8774 #85BC74 #74A9BC
split-complementary
#AB74BC #A9BC74 #74BC87
monochromatic
#6C3B7B #904FA4 #AB74BC #C49DD0 #DDC7E4

Accessibility & contrast

On white

3.53
#AB74BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#AB74BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74BC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74BC#FFFFFF#000000##000000
##AB74BC1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A85BF
Deuteranopia (green-blind)
#778ABA
Tritanopia (blue-blind)
#AB7D8F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab74bc;
/* rgb */ color: rgb(171, 116, 188);
/* oklch */ color: oklch(64.2% 0.120 318.0);
Tailwind
colors: {
  custom: {
    50: '#c59dd0',
    500: '#ab74bc',
    950: '#000000',
  },
}
SCSS
$custom: #ab74bc;
$custom-light: #c59dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74bc",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 188
  },
  "hsl": {
    "h": 285.833,
    "s": 34.951,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64188,
    "c": 0.12045,
    "h": 318
  },
  "luminance": 0.2478
}

Semantic roles & 50–950 ramp

primary
#AB74BC
secondary
#BFD4B8
accent
#CB5D77
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB74BC

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

Preview Lab → · Contrast checker → · Palette generator →

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