#AF43C7#AF43C7

#AF43C7 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.4% C 0.211 H 319.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AF43C7
RGBrgb(175, 67, 199)
HSLhsl(289, 54%, 52%)
HSVhsv(289, 66%, 78%)
CMYKcmyk(12.1%, 66.3%, 0%, 22%)
CIE-LABlab(48.58, 62.06, -48.68)
CIE-LCHlch(48.58, 78.87, 321.89°)
OKLaboklab(58.36% 0.1613 -0.1361)
OKLCHoklch(58.36% 0.211 319.8)
XYZxyz(29.9939, 17.2532, 55.7721)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43C7 #5BC743
analogous
#6D43C7 #AF43C7 #C7439D
triadic
#AF43C7 #C7AF43 #43C7AF
tetradic
#AF43C7 #C76D43 #5BC743 #439DC7
square
#AF43C7 #C76D43 #5BC743 #439DC7
split-complementary
#AF43C7 #9DC743 #43C76D
monochromatic
#61216F #8A2F9E #AF43C7 #C372D5 #D7A1E3

Accessibility & contrast

On white

4.72
#AF43C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#AF43C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43C7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43C7#FFFFFF#000000##FFFFFF
##AF43C71.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156CCB
Deuteranopia (green-blind)
#4E77C4
Tritanopia (blue-blind)
#B05A80
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af43c7;
/* rgb */ color: rgb(175, 67, 199);
/* oklch */ color: oklch(58.4% 0.211 319.8);
Tailwind
colors: {
  custom: {
    50: '#ca7fd8',
    500: '#af43c7',
    950: '#000000',
  },
}
SCSS
$custom: #af43c7;
$custom-light: #ca7fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#af43c7",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 199
  },
  "hsl": {
    "h": 289.091,
    "s": 54.098,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58361,
    "c": 0.21104,
    "h": 319.8
  },
  "luminance": 0.17252
}

Semantic roles & 50–950 ramp

primary
#AF43C7
secondary
#A1D096
accent
#DD4A65
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF43C7

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

Preview Lab → · Contrast checker → · Palette generator →

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