#AF43BF#AF43BF

#AF43BF is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 57.9% C 0.204 H 322.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AF43BF
RGBrgb(175, 67, 191)
HSLhsl(292, 49%, 51%)
HSVhsv(292, 65%, 75%)
CMYKcmyk(8.4%, 64.9%, 0%, 25.1%)
CIE-LABlab(48.12, 60.56, -44.77)
CIE-LCHlch(48.12, 75.31, 323.52°)
OKLaboklab(57.89% 0.1613 -0.1247)
OKLCHoklch(57.89% 0.204 322.3)
XYZxyz(29.0893, 16.8914, 51.0083)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43BF #53BF43
analogous
#7143BF #AF43BF #BF4391
triadic
#AF43BF #BFAF43 #43BFAF
tetradic
#AF43BF #BF7143 #53BF43 #4391BF
square
#AF43BF #BF7143 #53BF43 #4391BF
split-complementary
#AF43BF #91BF43 #43BF71
monochromatic
#5D2265 #863293 #AF43BF #C271CF #D69EDE

Accessibility & contrast

On white

4.80
#AF43BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AF43BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43BF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43BF#FFFFFF#000000##FFFFFF
##AF43BF1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246AC3
Deuteranopia (green-blind)
#5376BC
Tritanopia (blue-blind)
#B1577B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af43bf;
/* rgb */ color: rgb(175, 67, 191);
/* oklch */ color: oklch(57.9% 0.204 322.3);
Tailwind
colors: {
  custom: {
    50: '#ca7fd3',
    500: '#af43bf',
    950: '#000000',
  },
}
SCSS
$custom: #af43bf;
$custom-light: #ca7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#af43bf",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 191
  },
  "hsl": {
    "h": 292.258,
    "s": 49.206,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57887,
    "c": 0.20391,
    "h": 322.3
  },
  "luminance": 0.1689
}

Semantic roles & 50–950 ramp

primary
#AF43BF
secondary
#9ACA93
accent
#D94F61
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF43BF

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

Preview Lab → · Contrast checker → · Palette generator →

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