#AF43BD#AF43BD

#AF43BD is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.8% C 0.202 H 322.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AF43BD
RGBrgb(175, 67, 189)
HSLhsl(293, 48%, 50%)
HSVhsv(293, 65%, 74%)
CMYKcmyk(7.4%, 64.6%, 0%, 25.9%)
CIE-LABlab(48.01, 60.19, -43.79)
CIE-LCHlch(48.01, 74.43, 323.97°)
OKLaboklab(57.77% 0.1613 -0.1218)
OKLCHoklch(57.77% 0.202 322.9)
XYZxyz(28.8708, 16.8040, 49.8570)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43BD #51BD43
analogous
#7243BD #AF43BD #BD438E
triadic
#AF43BD #BDAF43 #43BDAF
tetradic
#AF43BD #BD7243 #51BD43 #438EBD
square
#AF43BD #BD7243 #51BD43 #438EBD
split-complementary
#AF43BD #8EBD43 #43BD72
monochromatic
#5C2363 #853390 #AF43BD #C270CD #D69EDD

Accessibility & contrast

On white

4.82
#AF43BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AF43BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43BD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43BD#FFFFFF#000000##FFFFFF
##AF43BD1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276AC1
Deuteranopia (green-blind)
#5576BA
Tritanopia (blue-blind)
#B2567A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af43bd;
/* rgb */ color: rgb(175, 67, 189);
/* oklch */ color: oklch(57.8% 0.202 322.9);
Tailwind
colors: {
  custom: {
    50: '#ca7fd1',
    500: '#af43bd',
    950: '#000000',
  },
}
SCSS
$custom: #af43bd;
$custom-light: #ca7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#af43bd",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 189
  },
  "hsl": {
    "h": 293.115,
    "s": 48.031,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57771,
    "c": 0.20215,
    "h": 322.9
  },
  "luminance": 0.16802
}

Semantic roles & 50–950 ramp

primary
#AF43BD
secondary
#99C993
accent
#D85060
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF43BD

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

Preview Lab → · Contrast checker → · Palette generator →

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