#AB269E#AB269E

#AB269E is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.209 H 332.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AB269E
RGBrgb(171, 38, 158)
HSLhsl(306, 64%, 41%)
HSVhsv(306, 78%, 67%)
CMYKcmyk(0%, 77.8%, 7.6%, 32.9%)
CIE-LABlab(42.02, 64.43, -34.99)
CIE-LCHlch(42.02, 73.32, 331.49°)
OKLaboklab(52.8% 0.1856 -0.0962)
OKLCHoklch(52.8% 0.209 332.6)
XYZxyz(23.6594, 12.5148, 33.5106)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB269E #26AB33
analogous
#7526AB #AB269E #AB265B
triadic
#AB269E #9EAB26 #269EAB
tetradic
#AB269E #AB7526 #26AB33 #265BAB
square
#AB269E #AB7526 #26AB33 #265BAB
split-complementary
#AB269E #5BAB26 #26AB75
monochromatic
#471041 #791B70 #AB269E #D33BC4 #DF6DD3

Accessibility & contrast

On white

6.00
#AB269E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AB269E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB269E
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB269E#FFFFFF#000000##FFFFFF
##AB269E1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D57A1
Deuteranopia (green-blind)
#546A9B
Tritanopia (blue-blind)
#B33661
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab269e;
/* rgb */ color: rgb(171, 38, 158);
/* oklch */ color: oklch(52.8% 0.209 332.6);
Tailwind
colors: {
  custom: {
    50: '#c870bb',
    500: '#ab269e',
    950: '#000000',
  },
}
SCSS
$custom: #ab269e;
$custom-light: #c870bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab269e",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 305.865,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52796,
    "c": 0.20902,
    "h": 332.6
  },
  "luminance": 0.12513
}

Semantic roles & 50–950 ramp

primary
#AB269E
secondary
#68C571
accent
#E75141
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB269E

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

Preview Lab → · Contrast checker → · Palette generator →

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