#AF3FBD#AF3FBD

#AF3FBD is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.3% C 0.207 H 323.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AF3FBD
RGBrgb(175, 63, 189)
HSLhsl(293, 50%, 49%)
HSVhsv(293, 67%, 74%)
CMYKcmyk(7.4%, 66.7%, 0%, 25.9%)
CIE-LABlab(47.42, 61.84, -44.72)
CIE-LCHlch(47.42, 76.31, 324.12°)
OKLaboklab(57.35% 0.1658 -0.1245)
OKLCHoklch(57.35% 0.207 323.1)
XYZxyz(28.6411, 16.3447, 49.7805)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FBD #4DBD3F
analogous
#703FBD #AF3FBD #BD3F8C
triadic
#AF3FBD #BDAF3F #3FBDAF
tetradic
#AF3FBD #BD703F #4DBD3F #3F8CBD
square
#AF3FBD #BD703F #4DBD3F #3F8CBD
split-complementary
#AF3FBD #8CBD3F #3FBD70
monochromatic
#5A2061 #85308F #AF3FBD #C36BCE #D699DD

Accessibility & contrast

On white

4.92
#AF3FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AF3FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FBD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FBD#FFFFFF#000000##FFFFFF
##AF3FBD1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F68C1
Deuteranopia (green-blind)
#5275BA
Tritanopia (blue-blind)
#B25479
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3fbd;
/* rgb */ color: rgb(175, 63, 189);
/* oklch */ color: oklch(57.3% 0.207 323.1);
Tailwind
colors: {
  custom: {
    50: '#ca7dd1',
    500: '#af3fbd',
    950: '#000000',
  },
}
SCSS
$custom: #af3fbd;
$custom-light: #ca7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fbd",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 293.333,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57347,
    "c": 0.20736,
    "h": 323.1
  },
  "luminance": 0.16343
}

Semantic roles & 50–950 ramp

primary
#AF3FBD
secondary
#95C98F
accent
#DA4E5E
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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