#AB74CC#AB74CC

#AB74CC is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.0% C 0.139 H 311.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AB74CC
RGBrgb(171, 116, 204)
HSLhsl(278, 46%, 63%)
HSVhsv(278, 43%, 80%)
CMYKcmyk(16.2%, 43.1%, 0%, 20%)
CIE-LABlab(57.57, 37.61, -37.36)
CIE-LCHlch(57.57, 53.01, 315.20°)
OKLaboklab(64.95% 0.0927 -0.1036)
OKLCHoklch(64.95% 0.139 311.8)
XYZxyz(33.9372, 25.5090, 60.2510)
Luminance0.2551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74CC #95CC74
analogous
#7F74CC #AB74CC #CC74C1
triadic
#AB74CC #CCAB74 #74CCAB
tetradic
#AB74CC #CC7F74 #95CC74 #74C1CC
square
#AB74CC #CC7F74 #95CC74 #74C1CC
split-complementary
#AB74CC #C1CC74 #74CC7F
monochromatic
#6E3591 #9047BC #AB74CC #C6A1DC #E1CEED

Accessibility & contrast

On white

3.44
#AB74CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#AB74CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74CC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74CC#FFFFFF#000000##000000
##AB74CC1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6287CF
Deuteranopia (green-blind)
#708BCA
Tritanopia (blue-blind)
#A88196
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab74cc;
/* rgb */ color: rgb(171, 116, 204);
/* oklch */ color: oklch(65.0% 0.139 311.8);
Tailwind
colors: {
  custom: {
    50: '#c59ddc',
    500: '#ab74cc',
    950: '#000000',
  },
}
SCSS
$custom: #ab74cc;
$custom-light: #c59ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74cc",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 277.5,
    "s": 46.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64952,
    "c": 0.13901,
    "h": 311.8
  },
  "luminance": 0.25508
}

Semantic roles & 50–950 ramp

primary
#AB74CC
secondary
#CADEBE
accent
#BA2C61
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB74CC

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

Preview Lab → · Contrast checker → · Palette generator →

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