#AF7BB2#AF7BB2

#AF7BB2 is a light, moderate purple. Relative luminance 0.265; OKLCH L 65.4% C 0.099 H 324.8°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AF7BB2
RGBrgb(175, 123, 178)
HSLhsl(297, 26%, 59%)
HSVhsv(297, 31%, 70%)
CMYKcmyk(1.7%, 30.9%, 0%, 30.2%)
CIE-LABlab(58.50, 29.56, -21.07)
CIE-LCHlch(58.50, 36.30, 324.52°)
OKLaboklab(65.4% 0.081 -0.0571)
OKLCHoklch(65.4% 0.099 324.8)
XYZxyz(32.7972, 26.4953, 45.4973)
Luminance0.2649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7BB2 #7EB27B
analogous
#947BB2 #AF7BB2 #B27B9A
triadic
#AF7BB2 #B2AF7B #7BB2AF
tetradic
#AF7BB2 #B2947B #7EB27B #7B9AB2
square
#AF7BB2 #B2947B #7EB27B #7B9AB2
split-complementary
#AF7BB2 #9AB27B #7BB294
monochromatic
#6E4271 #945897 #AF7BB2 #C6A2C9 #DEC8DF

Accessibility & contrast

On white

3.33
#AF7BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#AF7BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7BB2
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7BB2#FFFFFF#000000##000000
##AF7BB21.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7689B4
Deuteranopia (green-blind)
#838FB0
Tritanopia (blue-blind)
#B2808F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af7bb2;
/* rgb */ color: rgb(175, 123, 178);
/* oklch */ color: oklch(65.4% 0.099 324.8);
Tailwind
colors: {
  custom: {
    50: '#c7a2c9',
    500: '#af7bb2',
    950: '#000000',
  },
}
SCSS
$custom: #af7bb2;
$custom-light: #c7a2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#af7bb2",
  "rgb": {
    "r": 175,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 296.727,
    "s": 26.316,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65399,
    "c": 0.09912,
    "h": 324.8
  },
  "luminance": 0.26494
}

Semantic roles & 50–950 ramp

primary
#AF7BB2
secondary
#BBCFBA
accent
#C3656A
background
#FCFAFC
surface
#F8F3F8
border
#D1CDD1
text
#130F13
muted
#827F82

Preview Lab

Preview with #AF7BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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