#AB74ED#AB74ED

#AB74ED is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.7% C 0.178 H 302.9°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AB74ED
RGBrgb(171, 116, 237)
HSLhsl(267, 77%, 69%)
HSVhsv(267, 51%, 93%)
CMYKcmyk(27.8%, 51.1%, 0%, 7.1%)
CIE-LABlab(59.22, 45.17, -53.27)
CIE-LCHlch(59.22, 69.84, 310.30°)
OKLaboklab(66.72% 0.0968 -0.1499)
OKLCHoklch(66.72% 0.178 302.9)
XYZxyz(38.3226, 27.2632, 83.3477)
Luminance0.2726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74ED #B6ED74
analogous
#747AED #AB74ED #E874ED
triadic
#AB74ED #EDAB74 #74EDAB
tetradic
#AB74ED #ED747A #B6ED74 #74EDE8
square
#AB74ED #ED747A #B6ED74 #74EDE8
split-complementary
#AB74ED #EDE874 #7AED74
monochromatic
#6B1ACC #8A3EE6 #AB74ED #CCAAF4 #ECE0FB

Accessibility & contrast

On white

3.25
#AB74ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#AB74ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74ED
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74ED#FFFFFF#000000##000000
##AB74ED1.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DF1
Deuteranopia (green-blind)
#5C8EEA
Tritanopia (blue-blind)
#9F8AA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab74ed;
/* rgb */ color: rgb(171, 116, 237);
/* oklch */ color: oklch(66.7% 0.178 302.9);
Tailwind
colors: {
  custom: {
    50: '#c79df3',
    500: '#ab74ed',
    950: '#000000',
  },
}
SCSS
$custom: #ab74ed;
$custom-light: #c79df3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74ed",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 267.273,
    "s": 77.07,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66719,
    "c": 0.17842,
    "h": 302.9
  },
  "luminance": 0.27263
}

Semantic roles & 50–950 ramp

primary
#AB74ED
secondary
#E0F0CD
accent
#D90C7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB74ED

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

Preview Lab → · Contrast checker → · Palette generator →

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