#AB74DD#AB74DD

#AB74DD is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.8% C 0.159 H 306.7°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AB74DD
RGBrgb(171, 116, 221)
HSLhsl(271, 61%, 66%)
HSVhsv(271, 48%, 87%)
CMYKcmyk(22.6%, 47.5%, 0%, 13.3%)
CIE-LABlab(58.39, 41.43, -45.65)
CIE-LCHlch(58.39, 61.65, 312.22°)
OKLaboklab(65.83% 0.0952 -0.1277)
OKLCHoklch(65.83% 0.159 306.7)
XYZxyz(36.0885, 26.3695, 71.5812)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74DD #A6DD74
analogous
#7674DD #AB74DD #DD74DA
triadic
#AB74DD #DDAB74 #74DDAB
tetradic
#AB74DD #DD7674 #A6DD74 #74DADD
square
#AB74DD #DD7674 #A6DD74 #74DADD
split-complementary
#AB74DD #DADD74 #74DD76
monochromatic
#6E2AAC #8D43D1 #AB74DD #C9A5E9 #E6D6F5

Accessibility & contrast

On white

3.35
#AB74DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#AB74DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74DD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74DD#FFFFFF#000000##000000
##AB74DD1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#588AE1
Deuteranopia (green-blind)
#678DDA
Tritanopia (blue-blind)
#A3869E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab74dd;
/* rgb */ color: rgb(171, 116, 221);
/* oklch */ color: oklch(65.8% 0.159 306.7);
Tailwind
colors: {
  custom: {
    50: '#c69de8',
    500: '#ab74dd',
    950: '#000000',
  },
}
SCSS
$custom: #ab74dd;
$custom-light: #c69de8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74dd",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 271.429,
    "s": 60.694,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65831,
    "c": 0.15925,
    "h": 306.7
  },
  "luminance": 0.26369
}

Semantic roles & 50–950 ramp

primary
#AB74DD
secondary
#D6E8C5
accent
#C81D6F
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB74DD

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

Preview Lab → · Contrast checker → · Palette generator →

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