#AB74EA#AB74EA

#AB74EA is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.5% C 0.175 H 303.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AB74EA
RGBrgb(171, 116, 234)
HSLhsl(268, 74%, 69%)
HSVhsv(268, 50%, 92%)
CMYKcmyk(26.9%, 50.4%, 0%, 8.2%)
CIE-LABlab(59.06, 44.46, -51.85)
CIE-LCHlch(59.06, 68.30, 310.61°)
OKLaboklab(66.55% 0.0966 -0.1457)
OKLCHoklch(66.55% 0.175 303.5)
XYZxyz(37.8880, 27.0893, 81.0587)
Luminance0.2709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74EA #B3EA74
analogous
#7478EA #AB74EA #E674EA
triadic
#AB74EA #EAAB74 #74EAAB
tetradic
#AB74EA #EA7478 #B3EA74 #74EAE6
square
#AB74EA #EA7478 #B3EA74 #74EAE6
split-complementary
#AB74EA #EAE674 #78EA74
monochromatic
#6C1EC6 #8B3FE2 #AB74EA #CBA9F2 #EBDEFA

Accessibility & contrast

On white

3.27
#AB74EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#AB74EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74EA
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74EA#FFFFFF#000000##000000
##AB74EA1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEE
Deuteranopia (green-blind)
#5E8EE7
Tritanopia (blue-blind)
#A089A4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab74ea;
/* rgb */ color: rgb(171, 116, 234);
/* oklch */ color: oklch(66.5% 0.175 303.5);
Tailwind
colors: {
  custom: {
    50: '#c79df1',
    500: '#ab74ea',
    950: '#000000',
  },
}
SCSS
$custom: #ab74ea;
$custom-light: #c79df1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74ea",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 267.966,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66548,
    "c": 0.17483,
    "h": 303.5
  },
  "luminance": 0.27089
}

Semantic roles & 50–950 ramp

primary
#AB74EA
secondary
#DEEFCB
accent
#D61079
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB74EA

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

Preview Lab → · Contrast checker → · Palette generator →

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