#AB2695#AB2695

#AB2695 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.203 H 335.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AB2695
RGBrgb(171, 38, 149)
HSLhsl(310, 64%, 41%)
HSVhsv(310, 78%, 67%)
CMYKcmyk(0%, 77.8%, 12.9%, 32.9%)
CIE-LABlab(41.56, 63.09, -30.29)
CIE-LCHlch(41.56, 69.99, 334.35°)
OKLaboklab(52.31% 0.1851 -0.0827)
OKLCHoklch(52.31% 0.203 335.9)
XYZxyz(22.9129, 12.2162, 29.5792)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2695 #26AB3C
analogous
#7E26AB #AB2695 #AB2652
triadic
#AB2695 #95AB26 #2695AB
tetradic
#AB2695 #AB7E26 #26AB3C #2652AB
square
#AB2695 #AB7E26 #26AB3C #2652AB
split-complementary
#AB2695 #52AB26 #26AB7E
monochromatic
#47103E #791B69 #AB2695 #D33BBA #DF6DCC

Accessibility & contrast

On white

6.10
#AB2695 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AB2695 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2695
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2695#FFFFFF#000000##FFFFFF
##AB26951.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285598
Deuteranopia (green-blind)
#586992
Tritanopia (blue-blind)
#B4315C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2695;
/* rgb */ color: rgb(171, 38, 149);
/* oklch */ color: oklch(52.3% 0.203 335.9);
Tailwind
colors: {
  custom: {
    50: '#c870b4',
    500: '#ab2695',
    950: '#000000',
  },
}
SCSS
$custom: #ab2695;
$custom-light: #c870b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2695",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 309.925,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52312,
    "c": 0.20272,
    "h": 335.9
  },
  "luminance": 0.12214
}

Semantic roles & 50–950 ramp

primary
#AB2695
secondary
#68C577
accent
#E75D41
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB2695

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

Preview Lab → · Contrast checker → · Palette generator →

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