#AF3CBF#AF3CBF

#AF3CBF is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.2% C 0.213 H 322.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AF3CBF
RGBrgb(175, 60, 191)
HSLhsl(293, 52%, 49%)
HSVhsv(293, 69%, 75%)
CMYKcmyk(8.4%, 68.6%, 0%, 25.1%)
CIE-LABlab(47.12, 63.38, -46.38)
CIE-LCHlch(47.12, 78.53, 323.81°)
OKLaboklab(57.16% 0.169 -0.1293)
OKLCHoklch(57.16% 0.213 322.6)
XYZxyz(28.6981, 16.1089, 50.8778)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CBF #4CBF3C
analogous
#6E3CBF #AF3CBF #BF3C8E
triadic
#AF3CBF #BFAF3C #3CBFAF
tetradic
#AF3CBF #BF6E3C #4CBF3C #3C8EBF
square
#AF3CBF #BF6E3C #4CBF3C #3C8EBF
split-complementary
#AF3CBF #8EBF3C #3CBF6E
monochromatic
#5A1F62 #842D90 #AF3CBF #C368D0 #D697DE

Accessibility & contrast

On white

4.97
#AF3CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AF3CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CBF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CBF#FFFFFF#000000##FFFFFF
##AF3CBF1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1267C3
Deuteranopia (green-blind)
#4F74BC
Tritanopia (blue-blind)
#B15279
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3cbf;
/* rgb */ color: rgb(175, 60, 191);
/* oklch */ color: oklch(57.2% 0.213 322.6);
Tailwind
colors: {
  custom: {
    50: '#ca7bd3',
    500: '#af3cbf',
    950: '#000000',
  },
}
SCSS
$custom: #af3cbf;
$custom-light: #ca7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cbf",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 191
  },
  "hsl": {
    "h": 292.672,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57163,
    "c": 0.2128,
    "h": 322.6
  },
  "luminance": 0.16107
}

Semantic roles & 50–950 ramp

primary
#AF3CBF
secondary
#94CA8D
accent
#DC4C5E
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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