#AF7BC1#AF7BC1

#AF7BC1 is a light, moderate purple. Relative luminance 0.271; OKLCH L 66.0% C 0.116 H 317.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AF7BC1
RGBrgb(175, 123, 193)
HSLhsl(285, 36%, 62%)
HSVhsv(285, 36%, 76%)
CMYKcmyk(9.3%, 36.3%, 0%, 24.3%)
CIE-LABlab(59.10, 32.59, -28.70)
CIE-LCHlch(59.10, 43.43, 318.63°)
OKLaboklab(66.04% 0.0849 -0.0788)
OKLCHoklch(66.04% 0.116 317.1)
XYZxyz(34.3864, 27.1310, 53.8671)
Luminance0.2713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7BC1 #8DC17B
analogous
#8C7BC1 #AF7BC1 #C17BB0
triadic
#AF7BC1 #C1AF7B #7BC1AF
tetradic
#AF7BC1 #C18C7B #8DC17B #7BB0C1
square
#AF7BC1 #C18C7B #8DC17B #7BB0C1
split-complementary
#AF7BC1 #B0C17B #7BC18C
monochromatic
#723E84 #9651AD #AF7BC1 #C8A5D5 #E1CEE8

Accessibility & contrast

On white

3.27
#AF7BC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#AF7BC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7BC1
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7BC1#FFFFFF#000000##000000
##AF7BC11.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#718BC4
Deuteranopia (green-blind)
#7D90BF
Tritanopia (blue-blind)
#AF8495
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af7bc1;
/* rgb */ color: rgb(175, 123, 193);
/* oklch */ color: oklch(66.0% 0.116 317.1);
Tailwind
colors: {
  custom: {
    50: '#c8a2d4',
    500: '#af7bc1',
    950: '#000000',
  },
}
SCSS
$custom: #af7bc1;
$custom-light: #c8a2d4;
$custom-dark: #000000;
JSON
{
  "hex": "#af7bc1",
  "rgb": {
    "r": 175,
    "g": 123,
    "b": 193
  },
  "hsl": {
    "h": 284.571,
    "s": 36.082,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66042,
    "c": 0.1158,
    "h": 317.1
  },
  "luminance": 0.2713
}

Semantic roles & 50–950 ramp

primary
#AF7BC1
secondary
#C6D9BF
accent
#AF3756
background
#FCFAFD
surface
#F8F3FA
border
#D1CDD3
text
#130F14
muted
#827F83

Preview Lab

Preview with #AF7BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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