#AF3CBD#AF3CBD

#AF3CBD is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.211 H 323.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AF3CBD
RGBrgb(175, 60, 189)
HSLhsl(293, 52%, 49%)
HSVhsv(293, 68%, 74%)
CMYKcmyk(7.4%, 68.3%, 0%, 25.9%)
CIE-LABlab(47.00, 63.02, -45.39)
CIE-LCHlch(47.00, 77.67, 324.23°)
OKLaboklab(57.04% 0.169 -0.1265)
OKLCHoklch(57.04% 0.211 323.2)
XYZxyz(28.4795, 16.0214, 49.7266)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CBD #4ABD3C
analogous
#6F3CBD #AF3CBD #BD3C8B
triadic
#AF3CBD #BDAF3C #3CBDAF
tetradic
#AF3CBD #BD6F3C #4ABD3C #3C8BBD
square
#AF3CBD #BD6F3C #4ABD3C #3C8BBD
split-complementary
#AF3CBD #8BBD3C #3CBD6F
monochromatic
#591F60 #842D8F #AF3CBD #C467CF #D696DE

Accessibility & contrast

On white

5.00
#AF3CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AF3CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CBD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CBD#FFFFFF#000000##FFFFFF
##AF3CBD1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1767C1
Deuteranopia (green-blind)
#5074BA
Tritanopia (blue-blind)
#B25278
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3cbd;
/* rgb */ color: rgb(175, 60, 189);
/* oklch */ color: oklch(57.0% 0.211 323.2);
Tailwind
colors: {
  custom: {
    50: '#ca7bd1',
    500: '#af3cbd',
    950: '#000000',
  },
}
SCSS
$custom: #af3cbd;
$custom-light: #ca7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cbd",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 293.488,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57044,
    "c": 0.2111,
    "h": 323.2
  },
  "luminance": 0.1602
}

Semantic roles & 50–950 ramp

primary
#AF3CBD
secondary
#92C98C
accent
#DB4D5C
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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