#AB74EE#AB74EE

#AB74EE is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.8% C 0.180 H 302.6°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AB74EE
RGBrgb(171, 116, 238)
HSLhsl(267, 78%, 69%)
HSVhsv(267, 51%, 93%)
CMYKcmyk(28.2%, 51.3%, 0%, 6.7%)
CIE-LABlab(59.27, 45.41, -53.74)
CIE-LCHlch(59.27, 70.35, 310.20°)
OKLaboklab(66.78% 0.0969 -0.1512)
OKLCHoklch(66.78% 0.18 302.6)
XYZxyz(38.4691, 27.3218, 84.1193)
Luminance0.2732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74EE #B7EE74
analogous
#747AEE #AB74EE #E874EE
triadic
#AB74EE #EEAB74 #74EEAB
tetradic
#AB74EE #EE747A #B7EE74 #74EEE8
square
#AB74EE #EE747A #B7EE74 #74EEE8
split-complementary
#AB74EE #EEE874 #7AEE74
monochromatic
#6B19CE #8A3DE7 #AB74EE #CCABF5 #EDE1FB

Accessibility & contrast

On white

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

On black

6.46
#AB74EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74EE
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74EE#FFFFFF#000000##000000
##AB74EE1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8EF2
Deuteranopia (green-blind)
#5B8EEB
Tritanopia (blue-blind)
#9F8BA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab74ee;
/* rgb */ color: rgb(171, 116, 238);
/* oklch */ color: oklch(66.8% 0.180 302.6);
Tailwind
colors: {
  custom: {
    50: '#c79df4',
    500: '#ab74ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab74ee;
$custom-light: #c79df4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74ee",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 267.049,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66776,
    "c": 0.17962,
    "h": 302.6
  },
  "luminance": 0.27322
}

Semantic roles & 50–950 ramp

primary
#AB74EE
secondary
#E1F0CD
accent
#DA0B7D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB74EE

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

Preview Lab → · Contrast checker → · Palette generator →

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