#AB2699#AB2699

#AB2699 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.205 H 334.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AB2699
RGBrgb(171, 38, 153)
HSLhsl(308, 64%, 41%)
HSVhsv(308, 78%, 67%)
CMYKcmyk(0%, 77.8%, 10.5%, 32.9%)
CIE-LABlab(41.76, 63.68, -32.39)
CIE-LCHlch(41.76, 71.44, 333.04°)
OKLaboklab(52.52% 0.1853 -0.0887)
OKLCHoklch(52.52% 0.205 334.4)
XYZxyz(23.2377, 12.3461, 31.2900)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2699 #26AB38
analogous
#7A26AB #AB2699 #AB2656
triadic
#AB2699 #99AB26 #2699AB
tetradic
#AB2699 #AB7A26 #26AB38 #2656AB
square
#AB2699 #AB7A26 #26AB38 #2656AB
split-complementary
#AB2699 #56AB26 #26AB7A
monochromatic
#47103F #791B6C #AB2699 #D33BBF #DF6DCF

Accessibility & contrast

On white

6.05
#AB2699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AB2699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2699
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2699#FFFFFF#000000##FFFFFF
##AB26991.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23569C
Deuteranopia (green-blind)
#566996
Tritanopia (blue-blind)
#B3335E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2699;
/* rgb */ color: rgb(171, 38, 153);
/* oklch */ color: oklch(52.5% 0.205 334.4);
Tailwind
colors: {
  custom: {
    50: '#c870b7',
    500: '#ab2699',
    950: '#000000',
  },
}
SCSS
$custom: #ab2699;
$custom-light: #c870b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2699",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 308.12,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52524,
    "c": 0.20548,
    "h": 334.4
  },
  "luminance": 0.12344
}

Semantic roles & 50–950 ramp

primary
#AB2699
secondary
#68C574
accent
#E75841
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB2699

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

Preview Lab → · Contrast checker → · Palette generator →

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