#AB74CA#AB74CA

#AB74CA is a light, vivid violet. Relative luminance 0.254; OKLCH L 64.9% C 0.137 H 312.5°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AB74CA
RGBrgb(171, 116, 202)
HSLhsl(278, 45%, 62%)
HSVhsv(278, 43%, 79%)
CMYKcmyk(15.3%, 42.6%, 0%, 20.8%)
CIE-LABlab(57.48, 37.18, -36.37)
CIE-LCHlch(57.48, 52.01, 315.63°)
OKLaboklab(64.85% 0.0923 -0.1008)
OKLCHoklch(64.85% 0.137 312.5)
XYZxyz(33.6988, 25.4136, 58.9958)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74CA #93CA74
analogous
#8074CA #AB74CA #CA74BE
triadic
#AB74CA #CAAB74 #74CAAB
tetradic
#AB74CA #CA8074 #93CA74 #74BECA
square
#AB74CA #CA8074 #93CA74 #74BECA
split-complementary
#AB74CA #BECA74 #74CA80
monochromatic
#6E368E #9048B9 #AB74CA #C6A0DB #E1CDEC

Accessibility & contrast

On white

3.45
#AB74CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#AB74CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74CA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74CA#FFFFFF#000000##000000
##AB74CA1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6387CD
Deuteranopia (green-blind)
#718BC8
Tritanopia (blue-blind)
#A88195
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab74ca;
/* rgb */ color: rgb(171, 116, 202);
/* oklch */ color: oklch(64.9% 0.137 312.5);
Tailwind
colors: {
  custom: {
    50: '#c59dda',
    500: '#ab74ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab74ca;
$custom-light: #c59dda;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74ca",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 278.372,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64853,
    "c": 0.13666,
    "h": 312.5
  },
  "luminance": 0.25413
}

Semantic roles & 50–950 ramp

primary
#AB74CA
secondary
#C9DDBD
accent
#B82E5F
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB74CA

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

Preview Lab → · Contrast checker → · Palette generator →

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