#AF7ABB#AF7ABB

#AF7ABB is a light, moderate purple. Relative luminance 0.266; OKLCH L 65.6% C 0.111 H 320.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AF7ABB
RGBrgb(175, 122, 187)
HSLhsl(289, 32%, 61%)
HSVhsv(289, 35%, 73%)
CMYKcmyk(6.4%, 34.8%, 0%, 26.7%)
CIE-LABlab(58.62, 31.91, -26.02)
CIE-LCHlch(58.62, 41.18, 320.81°)
OKLaboklab(65.6% 0.0849 -0.0711)
OKLCHoklch(65.6% 0.111 320.1)
XYZxyz(33.6072, 26.6218, 50.3723)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7ABB #86BB7A
analogous
#8E7ABB #AF7ABB #BB7AA6
triadic
#AF7ABB #BBAF7A #7ABBAF
tetradic
#AF7ABB #BB8E7A #86BB7A #7AA6BB
square
#AF7ABB #BB8E7A #86BB7A #7AA6BB
split-complementary
#AF7ABB #A6BB7A #7ABB8E
monochromatic
#703F7B #9554A4 #AF7ABB #C7A2D0 #E0CBE4

Accessibility & contrast

On white

3.32
#AF7ABB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#AF7ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7ABB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7ABB#FFFFFF#000000##000000
##AF7ABB1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7289BD
Deuteranopia (green-blind)
#7F8FB9
Tritanopia (blue-blind)
#B08192
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af7abb;
/* rgb */ color: rgb(175, 122, 187);
/* oklch */ color: oklch(65.6% 0.111 320.1);
Tailwind
colors: {
  custom: {
    50: '#c8a1cf',
    500: '#af7abb',
    950: '#000000',
  },
}
SCSS
$custom: #af7abb;
$custom-light: #c8a1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af7abb",
  "rgb": {
    "r": 175,
    "g": 122,
    "b": 187
  },
  "hsl": {
    "h": 288.923,
    "s": 32.338,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65604,
    "c": 0.11077,
    "h": 320.1
  },
  "luminance": 0.26621
}

Semantic roles & 50–950 ramp

primary
#AF7ABB
secondary
#C1D5BC
accent
#AB3A4F
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130F14
muted
#827E82

Preview Lab

Preview with #AF7ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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