#AB74BB#AB74BB

#AB74BB is a light, moderate purple. Relative luminance 0.247; OKLCH L 64.1% C 0.119 H 318.4°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AB74BB
RGBrgb(171, 116, 187)
HSLhsl(286, 34%, 59%)
HSVhsv(286, 38%, 73%)
CMYKcmyk(8.6%, 38%, 0%, 26.7%)
CIE-LABlab(56.82, 33.99, -28.85)
CIE-LCHlch(56.82, 44.58, 319.68°)
OKLaboklab(64.14% 0.0892 -0.0792)
OKLCHoklch(64.14% 0.119 318.4)
XYZxyz(32.0084, 24.7375, 50.0928)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74BB #84BB74
analogous
#8874BB #AB74BB #BB74A8
triadic
#AB74BB #BBAB74 #74BBAB
tetradic
#AB74BB #BB8874 #84BB74 #74A8BB
square
#AB74BB #BB8874 #84BB74 #74A8BB
split-complementary
#AB74BB #A8BB74 #74BB88
monochromatic
#6B3B79 #904FA2 #AB74BB #C49DCF #DDC6E3

Accessibility & contrast

On white

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

On black

5.95
#AB74BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74BB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74BB#FFFFFF#000000##000000
##AB74BB1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A85BE
Deuteranopia (green-blind)
#788AB9
Tritanopia (blue-blind)
#AB7D8F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab74bb;
/* rgb */ color: rgb(171, 116, 187);
/* oklch */ color: oklch(64.1% 0.119 318.4);
Tailwind
colors: {
  custom: {
    50: '#c59dcf',
    500: '#ab74bb',
    950: '#000000',
  },
}
SCSS
$custom: #ab74bb;
$custom-light: #c59dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74bb",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 286.479,
    "s": 34.3,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64142,
    "c": 0.11931,
    "h": 318.4
  },
  "luminance": 0.24737
}

Semantic roles & 50–950 ramp

primary
#AB74BB
secondary
#BED3B8
accent
#CA5D76
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB74BB

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

Preview Lab → · Contrast checker → · Palette generator →

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