#AB77FA#AB77FA

#AB77FA is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.9% C 0.190 H 299.7°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#AB77FA
RGBrgb(171, 119, 250)
HSLhsl(264, 93%, 72%)
HSVhsv(264, 52%, 98%)
CMYKcmyk(31.6%, 52.4%, 0%, 2%)
CIE-LABlab(60.56, 46.68, -58.32)
CIE-LCHlch(60.56, 74.70, 308.67°)
OKLaboklab(67.95% 0.0938 -0.1647)
OKLCHoklch(67.95% 0.19 299.7)
XYZxyz(40.6426, 28.7534, 93.8327)
Luminance0.2875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB77FA #C6FA77
analogous
#7784FA #AB77FA #ED77FA
triadic
#AB77FA #FAAB77 #77FAAB
tetradic
#AB77FA #FA7784 #C6FA77 #77FAED
square
#AB77FA #FA7784 #C6FA77 #77FAED
split-complementary
#AB77FA #FAED77 #84FA77
monochromatic
#6409EE #873CF8 #AB77FA #CFB2FC #EDE1FE

Accessibility & contrast

On white

3.11
#AB77FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#AB77FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB77FA
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB77FA#FFFFFF#000000##000000
##AB77FA1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4592FE
Deuteranopia (green-blind)
#5591F7
Tritanopia (blue-blind)
#9B90AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab77fa;
/* rgb */ color: rgb(171, 119, 250);
/* oklch */ color: oklch(67.9% 0.190 299.7);
Tailwind
colors: {
  custom: {
    50: '#c8a0fc',
    500: '#ab77fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab77fa;
$custom-light: #c8a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab77fa",
  "rgb": {
    "r": 171,
    "g": 119,
    "b": 250
  },
  "hsl": {
    "h": 263.817,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67947,
    "c": 0.18952,
    "h": 299.7
  },
  "luminance": 0.28754
}

Semantic roles & 50–950 ramp

primary
#AB77FA
secondary
#E9F6D5
accent
#E6008A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #AB77FA

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

Preview Lab → · Contrast checker → · Palette generator →

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