#AB74BE#AB74BE

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

Color values

HEX#AB74BE
RGBrgb(171, 116, 190)
HSLhsl(285, 36%, 60%)
HSVhsv(285, 39%, 75%)
CMYKcmyk(10%, 38.9%, 0%, 25.5%)
CIE-LABlab(56.95, 34.62, -30.36)
CIE-LCHlch(56.95, 46.05, 318.74°)
OKLaboklab(64.28% 0.0899 -0.0835)
OKLCHoklch(64.28% 0.123 317.1)
XYZxyz(32.3329, 24.8673, 51.8018)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74BE #87BE74
analogous
#8674BE #AB74BE #BE74AC
triadic
#AB74BE #BEAB74 #74BEAB
tetradic
#AB74BE #BE8674 #87BE74 #74ACBE
square
#AB74BE #BE8674 #87BE74 #74ACBE
split-complementary
#AB74BE #ACBE74 #74BE86
monochromatic
#6C3A7D #904EA7 #AB74BE #C49ED2 #DDC7E5

Accessibility & contrast

On white

3.52
#AB74BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#AB74BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74BE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74BE#FFFFFF#000000##000000
##AB74BE1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6985C1
Deuteranopia (green-blind)
#768ABC
Tritanopia (blue-blind)
#AB7D90
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab74be;
/* rgb */ color: rgb(171, 116, 190);
/* oklch */ color: oklch(64.3% 0.123 317.1);
Tailwind
colors: {
  custom: {
    50: '#c59dd2',
    500: '#ab74be',
    950: '#000000',
  },
}
SCSS
$custom: #ab74be;
$custom-light: #c59dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74be",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 190
  },
  "hsl": {
    "h": 284.595,
    "s": 36.275,
    "l": 60
  },
  "oklch": {
    "l": 0.6428,
    "c": 0.12272,
    "h": 317.1
  },
  "luminance": 0.24866
}

Semantic roles & 50–950 ramp

primary
#AB74BE
secondary
#C0D5B9
accent
#CC5C78
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB74BE

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

Preview Lab → · Contrast checker → · Palette generator →

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