#AF43C9#AF43C9

#AF43C9 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.5% C 0.213 H 319.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AF43C9
RGBrgb(175, 67, 201)
HSLhsl(288, 55%, 53%)
HSVhsv(288, 67%, 79%)
CMYKcmyk(12.9%, 66.7%, 0%, 21.2%)
CIE-LABlab(48.69, 62.44, -49.65)
CIE-LCHlch(48.69, 79.77, 321.51°)
OKLaboklab(58.48% 0.1612 -0.1389)
OKLCHoklch(58.48% 0.213 319.2)
XYZxyz(30.2276, 17.3467, 57.0030)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43C9 #5DC943
analogous
#6C43C9 #AF43C9 #C943A0
triadic
#AF43C9 #C9AF43 #43C9AF
tetradic
#AF43C9 #C96C43 #5DC943 #43A0C9
square
#AF43C9 #C96C43 #5DC943 #43A0C9
split-complementary
#AF43C9 #A0C943 #43C96C
monochromatic
#612071 #8A2EA1 #AF43C9 #C373D7 #D7A2E4

Accessibility & contrast

On white

4.70
#AF43C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#AF43C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43C9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43C9#FFFFFF#000000##FFFFFF
##AF43C91.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6CCD
Deuteranopia (green-blind)
#4C77C6
Tritanopia (blue-blind)
#AF5B81
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af43c9;
/* rgb */ color: rgb(175, 67, 201);
/* oklch */ color: oklch(58.5% 0.213 319.2);
Tailwind
colors: {
  custom: {
    50: '#ca7fda',
    500: '#af43c9',
    950: '#000000',
  },
}
SCSS
$custom: #af43c9;
$custom-light: #ca7fda;
$custom-dark: #000000;
JSON
{
  "hex": "#af43c9",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 201
  },
  "hsl": {
    "h": 288.358,
    "s": 55.372,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58482,
    "c": 0.21284,
    "h": 319.2
  },
  "luminance": 0.17345
}

Semantic roles & 50–950 ramp

primary
#AF43C9
secondary
#A2D197
accent
#DF4966
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF43C9

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

Preview Lab → · Contrast checker → · Palette generator →

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