#AB77CB#AB77CB

#AB77CB is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.4% C 0.133 H 311.6°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AB77CB
RGBrgb(171, 119, 203)
HSLhsl(277, 45%, 63%)
HSVhsv(277, 41%, 80%)
CMYKcmyk(15.8%, 41.4%, 0%, 20.4%)
CIE-LABlab(58.19, 35.73, -35.81)
CIE-LCHlch(58.19, 50.59, 314.93°)
OKLaboklab(65.41% 0.0882 -0.0992)
OKLCHoklch(65.41% 0.133 311.6)
XYZxyz(34.1690, 26.1640, 59.7385)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB77CB #97CB77
analogous
#8177CB #AB77CB #CB77C1
triadic
#AB77CB #CBAB77 #77CBAB
tetradic
#AB77CB #CB8177 #97CB77 #77C1CB
square
#AB77CB #CB8177 #97CB77 #77C1CB
split-complementary
#AB77CB #C1CB77 #77CB81
monochromatic
#6E3790 #904BBA #AB77CB #C6A3DC #E2D0ED

Accessibility & contrast

On white

3.37
#AB77CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#AB77CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB77CB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB77CB#FFFFFF#000000##000000
##AB77CB1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6689CE
Deuteranopia (green-blind)
#738DC9
Tritanopia (blue-blind)
#A88397
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab77cb;
/* rgb */ color: rgb(171, 119, 203);
/* oklch */ color: oklch(65.4% 0.133 311.6);
Tailwind
colors: {
  custom: {
    50: '#c59fdb',
    500: '#ab77cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab77cb;
$custom-light: #c59fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab77cb",
  "rgb": {
    "r": 171,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 277.143,
    "s": 44.681,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65406,
    "c": 0.1327,
    "h": 311.6
  },
  "luminance": 0.26163
}

Semantic roles & 50–950 ramp

primary
#AB77CB
secondary
#CBDEC0
accent
#B82E62
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB77CB

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

Preview Lab → · Contrast checker → · Palette generator →

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