#AF43C0#AF43C0

#AF43C0 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 57.9% C 0.205 H 322.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AF43C0
RGBrgb(175, 67, 192)
HSLhsl(292, 50%, 51%)
HSVhsv(292, 65%, 75%)
CMYKcmyk(8.9%, 65.1%, 0%, 24.7%)
CIE-LABlab(48.18, 60.75, -45.27)
CIE-LCHlch(48.18, 75.76, 323.31°)
OKLaboklab(57.95% 0.1613 -0.1262)
OKLCHoklch(57.95% 0.205 322)
XYZxyz(29.1998, 16.9356, 51.5898)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43C0 #54C043
analogous
#7043C0 #AF43C0 #C04392
triadic
#AF43C0 #C0AF43 #43C0AF
tetradic
#AF43C0 #C07043 #54C043 #4392C0
square
#AF43C0 #C07043 #54C043 #4392C0
split-complementary
#AF43C0 #92C043 #43C070
monochromatic
#5D2266 #873294 #AF43C0 #C371CF #D69FDF

Accessibility & contrast

On white

4.79
#AF43C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AF43C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43C0
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43C0#FFFFFF#000000##FFFFFF
##AF43C01.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226AC4
Deuteranopia (green-blind)
#5376BD
Tritanopia (blue-blind)
#B1577C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af43c0;
/* rgb */ color: rgb(175, 67, 192);
/* oklch */ color: oklch(57.9% 0.205 322.0);
Tailwind
colors: {
  custom: {
    50: '#ca7fd3',
    500: '#af43c0',
    950: '#000000',
  },
}
SCSS
$custom: #af43c0;
$custom-light: #ca7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#af43c0",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 192
  },
  "hsl": {
    "h": 291.84,
    "s": 49.801,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57945,
    "c": 0.2048,
    "h": 322
  },
  "luminance": 0.16934
}

Semantic roles & 50–950 ramp

primary
#AF43C0
secondary
#9BCB94
accent
#D94E61
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF43C0

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

Preview Lab → · Contrast checker → · Palette generator →

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