#AB74DA#AB74DA

#AB74DA is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.7% C 0.156 H 307.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AB74DA
RGBrgb(171, 116, 218)
HSLhsl(272, 58%, 65%)
HSVhsv(272, 47%, 85%)
CMYKcmyk(21.6%, 46.8%, 0%, 14.5%)
CIE-LABlab(58.24, 40.74, -44.20)
CIE-LCHlch(58.24, 60.12, 312.67°)
OKLaboklab(65.67% 0.0948 -0.1234)
OKLCHoklch(65.67% 0.156 307.5)
XYZxyz(35.6924, 26.2110, 69.4950)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74DA #A3DA74
analogous
#7874DA #AB74DA #DA74D6
triadic
#AB74DA #DAAB74 #74DAAB
tetradic
#AB74DA #DA7874 #A3DA74 #74D6DA
square
#AB74DA #DA7874 #A3DA74 #74D6DA
split-complementary
#AB74DA #D6DA74 #74DA78
monochromatic
#6F2CA7 #8E44CD #AB74DA #C8A4E7 #E5D5F4

Accessibility & contrast

On white

3.36
#AB74DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#AB74DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74DA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74DA#FFFFFF#000000##000000
##AB74DA1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8ADE
Deuteranopia (green-blind)
#698DD7
Tritanopia (blue-blind)
#A4859D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab74da;
/* rgb */ color: rgb(171, 116, 218);
/* oklch */ color: oklch(65.7% 0.156 307.5);
Tailwind
colors: {
  custom: {
    50: '#c69de6',
    500: '#ab74da',
    950: '#000000',
  },
}
SCSS
$custom: #ab74da;
$custom-light: #c69de6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74da",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 218
  },
  "hsl": {
    "h": 272.353,
    "s": 57.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65671,
    "c": 0.15566,
    "h": 307.5
  },
  "luminance": 0.26211
}

Semantic roles & 50–950 ramp

primary
#AB74DA
secondary
#D4E6C4
accent
#C6206C
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB74DA

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

Preview Lab → · Contrast checker → · Palette generator →

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