#AB77E4#AB77E4

#AB77E4 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.7% C 0.163 H 304.4°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AB77E4
RGBrgb(171, 119, 228)
HSLhsl(269, 67%, 68%)
HSVhsv(269, 48%, 89%)
CMYKcmyk(25%, 47.8%, 0%, 10.6%)
CIE-LABlab(59.39, 41.40, -47.98)
CIE-LCHlch(59.39, 63.37, 310.79°)
OKLaboklab(66.7% 0.092 -0.1344)
OKLCHoklch(66.7% 0.163 304.4)
XYZxyz(37.3920, 27.4532, 76.7129)
Luminance0.2745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB77E4 #B0E477
analogous
#7779E4 #AB77E4 #E177E4
triadic
#AB77E4 #E4AB77 #77E4AB
tetradic
#AB77E4 #E47779 #B0E477 #77E4E1
square
#AB77E4 #E47779 #B0E477 #77E4E1
split-complementary
#AB77E4 #E4E177 #79E477
monochromatic
#6D25BB #8B44DA #AB77E4 #CBAAEE #EADDF8

Accessibility & contrast

On white

3.24
#AB77E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#AB77E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB77E4
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB77E4#FFFFFF#000000##000000
##AB77E41.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#588EE8
Deuteranopia (green-blind)
#658FE1
Tritanopia (blue-blind)
#A18AA3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab77e4;
/* rgb */ color: rgb(171, 119, 228);
/* oklch */ color: oklch(66.7% 0.163 304.4);
Tailwind
colors: {
  custom: {
    50: '#c69fed',
    500: '#ab77e4',
    950: '#000000',
  },
}
SCSS
$custom: #ab77e4;
$custom-light: #c69fed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab77e4",
  "rgb": {
    "r": 171,
    "g": 119,
    "b": 228
  },
  "hsl": {
    "h": 268.624,
    "s": 66.871,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66696,
    "c": 0.16289,
    "h": 304.4
  },
  "luminance": 0.27453
}

Semantic roles & 50–950 ramp

primary
#AB77E4
secondary
#DCECCB
accent
#CF1777
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AB77E4

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

Preview Lab → · Contrast checker → · Palette generator →

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