#AB74BF#AB74BF

#AB74BF is a light, vivid purple. Relative luminance 0.249; OKLCH L 64.3% C 0.124 H 316.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AB74BF
RGBrgb(171, 116, 191)
HSLhsl(284, 37%, 60%)
HSVhsv(284, 39%, 75%)
CMYKcmyk(10.5%, 39.3%, 0%, 25.1%)
CIE-LABlab(56.99, 34.83, -30.87)
CIE-LCHlch(56.99, 46.54, 318.45°)
OKLaboklab(64.33% 0.0901 -0.085)
OKLCHoklch(64.33% 0.124 316.7)
XYZxyz(32.4426, 24.9111, 52.3794)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74BF #88BF74
analogous
#8574BF #AB74BF #BF74AD
triadic
#AB74BF #BFAB74 #74BFAB
tetradic
#AB74BF #BF8574 #88BF74 #74ADBF
square
#AB74BF #BF8574 #88BF74 #74ADBF
split-complementary
#AB74BF #ADBF74 #74BF85
monochromatic
#6C3A7E #904DA8 #AB74BF #C49ED2 #DEC8E6

Accessibility & contrast

On white

3.51
#AB74BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#AB74BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74BF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74BF#FFFFFF#000000##000000
##AB74BF1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6885C2
Deuteranopia (green-blind)
#768BBD
Tritanopia (blue-blind)
#AB7E90
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab74bf;
/* rgb */ color: rgb(171, 116, 191);
/* oklch */ color: oklch(64.3% 0.124 316.7);
Tailwind
colors: {
  custom: {
    50: '#c59dd2',
    500: '#ab74bf',
    950: '#000000',
  },
}
SCSS
$custom: #ab74bf;
$custom-light: #c59dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74bf",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 191
  },
  "hsl": {
    "h": 284,
    "s": 36.946,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64326,
    "c": 0.12387,
    "h": 316.7
  },
  "luminance": 0.2491
}

Semantic roles & 50–950 ramp

primary
#AB74BF
secondary
#C1D6B9
accent
#B03656
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB74BF

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

Preview Lab → · Contrast checker → · Palette generator →

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