#AF43C4#AF43C4

#AF43C4 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.2% C 0.208 H 320.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AF43C4
RGBrgb(175, 67, 196)
HSLhsl(290, 52%, 52%)
HSVhsv(290, 66%, 77%)
CMYKcmyk(10.7%, 65.8%, 0%, 23.1%)
CIE-LABlab(48.41, 61.49, -47.22)
CIE-LCHlch(48.41, 77.53, 322.48°)
OKLaboklab(58.18% 0.1613 -0.1319)
OKLCHoklch(58.18% 0.208 320.7)
XYZxyz(29.6490, 17.1153, 53.9557)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43C4 #58C443
analogous
#6F43C4 #AF43C4 #C44398
triadic
#AF43C4 #C4AF43 #43C4AF
tetradic
#AF43C4 #C46F43 #58C443 #4398C4
square
#AF43C4 #C46F43 #58C443 #4398C4
split-complementary
#AF43C4 #98C443 #43C46F
monochromatic
#5F226B #88309A #AF43C4 #C372D3 #D7A0E1

Accessibility & contrast

On white

4.75
#AF43C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AF43C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43C4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43C4#FFFFFF#000000##FFFFFF
##AF43C41.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6BC8
Deuteranopia (green-blind)
#5077C1
Tritanopia (blue-blind)
#B0597E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af43c4;
/* rgb */ color: rgb(175, 67, 196);
/* oklch */ color: oklch(58.2% 0.208 320.7);
Tailwind
colors: {
  custom: {
    50: '#ca7fd6',
    500: '#af43c4',
    950: '#000000',
  },
}
SCSS
$custom: #af43c4;
$custom-light: #ca7fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#af43c4",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 196
  },
  "hsl": {
    "h": 290.233,
    "s": 52.227,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58181,
    "c": 0.20836,
    "h": 320.7
  },
  "luminance": 0.17114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF43C4

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

Preview Lab → · Contrast checker → · Palette generator →

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