#AB74CF#AB74CF

#AB74CF is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.1% C 0.143 H 310.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AB74CF
RGBrgb(171, 116, 207)
HSLhsl(276, 49%, 63%)
HSVhsv(276, 44%, 81%)
CMYKcmyk(17.4%, 44%, 0%, 18.8%)
CIE-LABlab(57.71, 38.27, -38.83)
CIE-LCHlch(57.71, 54.53, 314.58°)
OKLaboklab(65.1% 0.0932 -0.1079)
OKLCHoklch(65.1% 0.143 310.8)
XYZxyz(34.3004, 25.6543, 62.1642)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74CF #98CF74
analogous
#7D74CF #AB74CF #CF74C5
triadic
#AB74CF #CFAB74 #74CFAB
tetradic
#AB74CF #CF7D74 #98CF74 #74C5CF
square
#AB74CF #CF7D74 #98CF74 #74C5CF
split-complementary
#AB74CF #C5CF74 #74CF7D
monochromatic
#6E3395 #9047BF #AB74CF #C6A1DF #E2CFEE

Accessibility & contrast

On white

3.43
#AB74CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#AB74CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74CF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74CF#FFFFFF#000000##000000
##AB74CF1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6088D2
Deuteranopia (green-blind)
#6F8CCD
Tritanopia (blue-blind)
#A78298
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab74cf;
/* rgb */ color: rgb(171, 116, 207);
/* oklch */ color: oklch(65.1% 0.143 310.8);
Tailwind
colors: {
  custom: {
    50: '#c59dde',
    500: '#ab74cf',
    950: '#000000',
  },
}
SCSS
$custom: #ab74cf;
$custom-light: #c59dde;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74cf",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 276.264,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65102,
    "c": 0.14256,
    "h": 310.8
  },
  "luminance": 0.25654
}

Semantic roles & 50–950 ramp

primary
#AB74CF
secondary
#CCE0BF
accent
#BC2A63
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB74CF

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

Preview Lab → · Contrast checker → · Palette generator →

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