#AF43C1#AF43C1

#AF43C1 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.0% C 0.206 H 321.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AF43C1
RGBrgb(175, 67, 193)
HSLhsl(291, 50%, 51%)
HSVhsv(291, 65%, 76%)
CMYKcmyk(9.3%, 65.3%, 0%, 24.3%)
CIE-LABlab(48.23, 60.93, -45.76)
CIE-LCHlch(48.23, 76.20, 323.10°)
OKLaboklab(58% 0.1613 -0.1276)
OKLCHoklch(58% 0.206 321.7)
XYZxyz(29.3109, 16.9800, 52.1753)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43C1 #55C143
analogous
#7043C1 #AF43C1 #C14394
triadic
#AF43C1 #C1AF43 #43C1AF
tetradic
#AF43C1 #C17043 #55C143 #4394C1
square
#AF43C1 #C17043 #55C143 #4394C1
split-complementary
#AF43C1 #94C143 #43C170
monochromatic
#5E2267 #873195 #AF43C1 #C371D0 #D69FDF

Accessibility & contrast

On white

4.78
#AF43C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AF43C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43C1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43C1#FFFFFF#000000##FFFFFF
##AF43C11.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216BC5
Deuteranopia (green-blind)
#5277BE
Tritanopia (blue-blind)
#B1587C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af43c1;
/* rgb */ color: rgb(175, 67, 193);
/* oklch */ color: oklch(58.0% 0.206 321.7);
Tailwind
colors: {
  custom: {
    50: '#ca7fd4',
    500: '#af43c1',
    950: '#000000',
  },
}
SCSS
$custom: #af43c1;
$custom-light: #ca7fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#af43c1",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 193
  },
  "hsl": {
    "h": 291.429,
    "s": 50.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58004,
    "c": 0.20569,
    "h": 321.7
  },
  "luminance": 0.16979
}

Semantic roles & 50–950 ramp

primary
#AF43C1
secondary
#9CCC94
accent
#DA4E62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF43C1

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

Preview Lab → · Contrast checker → · Palette generator →

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