#AF43C5#AF43C5

#AF43C5 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.2% C 0.209 H 320.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AF43C5
RGBrgb(175, 67, 197)
HSLhsl(290, 53%, 52%)
HSVhsv(290, 66%, 77%)
CMYKcmyk(11.2%, 66%, 0%, 22.7%)
CIE-LABlab(48.46, 61.68, -47.71)
CIE-LCHlch(48.46, 77.98, 322.28°)
OKLaboklab(58.24% 0.1613 -0.1333)
OKLCHoklch(58.24% 0.209 320.4)
XYZxyz(29.7632, 17.1609, 54.5571)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43C5 #59C543
analogous
#6E43C5 #AF43C5 #C5439A
triadic
#AF43C5 #C5AF43 #43C5AF
tetradic
#AF43C5 #C56E43 #59C543 #439AC5
square
#AF43C5 #C56E43 #59C543 #439AC5
split-complementary
#AF43C5 #9AC543 #43C56E
monochromatic
#60216C #89309B #AF43C5 #C372D3 #D7A1E2

Accessibility & contrast

On white

4.74
#AF43C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AF43C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43C5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43C5#FFFFFF#000000##FFFFFF
##AF43C51.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196CC9
Deuteranopia (green-blind)
#4F77C2
Tritanopia (blue-blind)
#B0597F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af43c5;
/* rgb */ color: rgb(175, 67, 197);
/* oklch */ color: oklch(58.2% 0.209 320.4);
Tailwind
colors: {
  custom: {
    50: '#ca7fd7',
    500: '#af43c5',
    950: '#000000',
  },
}
SCSS
$custom: #af43c5;
$custom-light: #ca7fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#af43c5",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 197
  },
  "hsl": {
    "h": 289.846,
    "s": 52.846,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58241,
    "c": 0.20925,
    "h": 320.4
  },
  "luminance": 0.17159
}

Semantic roles & 50–950 ramp

primary
#AF43C5
secondary
#9FCE95
accent
#DC4C64
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF43C5

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

Preview Lab → · Contrast checker → · Palette generator →

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