#AF43BC#AF43BC

#AF43BC is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.7% C 0.201 H 323.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AF43BC
RGBrgb(175, 67, 188)
HSLhsl(294, 47%, 50%)
HSVhsv(294, 64%, 74%)
CMYKcmyk(6.9%, 64.4%, 0%, 26.3%)
CIE-LABlab(47.96, 60.01, -43.29)
CIE-LCHlch(47.96, 74.00, 324.19°)
OKLaboklab(57.71% 0.1613 -0.1204)
OKLCHoklch(57.71% 0.201 323.3)
XYZxyz(28.7626, 16.7607, 49.2873)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43BC #50BC43
analogous
#7343BC #AF43BC #BC438C
triadic
#AF43BC #BCAF43 #43BCAF
tetradic
#AF43BC #BC7343 #50BC43 #438CBC
square
#AF43BC #BC7343 #50BC43 #438CBC
split-complementary
#AF43BC #8CBC43 #43BC73
monochromatic
#5B2362 #85338F #AF43BC #C270CC #D59DDC

Accessibility & contrast

On white

4.83
#AF43BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AF43BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43BC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43BC#FFFFFF#000000##FFFFFF
##AF43BC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286AC0
Deuteranopia (green-blind)
#5576B9
Tritanopia (blue-blind)
#B2567A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af43bc;
/* rgb */ color: rgb(175, 67, 188);
/* oklch */ color: oklch(57.7% 0.201 323.3);
Tailwind
colors: {
  custom: {
    50: '#ca7fd1',
    500: '#af43bc',
    950: '#000000',
  },
}
SCSS
$custom: #af43bc;
$custom-light: #ca7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#af43bc",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 293.554,
    "s": 47.451,
    "l": 50
  },
  "oklch": {
    "l": 0.57714,
    "c": 0.20127,
    "h": 323.3
  },
  "luminance": 0.16759
}

Semantic roles & 50–950 ramp

primary
#AF43BC
secondary
#98C992
accent
#D7515F
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF43BC

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

Preview Lab → · Contrast checker → · Palette generator →

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