#AF43C3#AF43C3

#AF43C3 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.1% C 0.207 H 321.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AF43C3
RGBrgb(175, 67, 195)
HSLhsl(291, 52%, 51%)
HSVhsv(291, 66%, 76%)
CMYKcmyk(10.3%, 65.6%, 0%, 23.5%)
CIE-LABlab(48.35, 61.30, -46.74)
CIE-LCHlch(48.35, 77.09, 322.68°)
OKLaboklab(58.12% 0.1613 -0.1304)
OKLCHoklch(58.12% 0.207 321)
XYZxyz(29.5356, 17.0699, 53.3583)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43C3 #57C343
analogous
#6F43C3 #AF43C3 #C34397
triadic
#AF43C3 #C3AF43 #43C3AF
tetradic
#AF43C3 #C36F43 #57C343 #4397C3
square
#AF43C3 #C36F43 #57C343 #4397C3
split-complementary
#AF43C3 #97C343 #43C36F
monochromatic
#5F226A #883198 #AF43C3 #C371D2 #D6A0E1

Accessibility & contrast

On white

4.76
#AF43C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AF43C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43C3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43C3#FFFFFF#000000##FFFFFF
##AF43C31.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6BC7
Deuteranopia (green-blind)
#5177C0
Tritanopia (blue-blind)
#B0597D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af43c3;
/* rgb */ color: rgb(175, 67, 195);
/* oklch */ color: oklch(58.1% 0.207 321.0);
Tailwind
colors: {
  custom: {
    50: '#ca7fd6',
    500: '#af43c3',
    950: '#000000',
  },
}
SCSS
$custom: #af43c3;
$custom-light: #ca7fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#af43c3",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 195
  },
  "hsl": {
    "h": 290.625,
    "s": 51.613,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58122,
    "c": 0.20747,
    "h": 321
  },
  "luminance": 0.17068
}

Semantic roles & 50–950 ramp

primary
#AF43C3
secondary
#9ECD95
accent
#DB4D63
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF43C3

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

Preview Lab → · Contrast checker → · Palette generator →

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