#AF43AD#AF43AD

#AF43AD is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.9% C 0.188 H 328.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AF43AD
RGBrgb(175, 67, 173)
HSLhsl(301, 45%, 47%)
HSVhsv(301, 62%, 69%)
CMYKcmyk(0%, 61.7%, 1.1%, 31.4%)
CIE-LABlab(47.17, 57.34, -35.76)
CIE-LCHlch(47.17, 67.58, 328.05°)
OKLaboklab(56.89% 0.1605 -0.0986)
OKLCHoklch(56.89% 0.188 328.4)
XYZxyz(27.2288, 16.1472, 41.2096)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43AD #43AF45
analogous
#7B43AF #AF43AD #AF4377
triadic
#AF43AD #ADAF43 #43ADAF
tetradic
#AF43AD #AF7B43 #43AF45 #4377AF
square
#AF43AD #AF7B43 #43AF45 #4377AF
split-complementary
#AF43AD #77AF43 #43AF7B
monochromatic
#562155 #833281 #AF43AD #C669C4 #D796D5

Accessibility & contrast

On white

4.97
#AF43AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AF43AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43AD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43AD#FFFFFF#000000##FFFFFF
##AF43AD1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3767B0
Deuteranopia (green-blind)
#5D75AA
Tritanopia (blue-blind)
#B45072
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af43ad;
/* rgb */ color: rgb(175, 67, 173);
/* oklch */ color: oklch(56.9% 0.188 328.4);
Tailwind
colors: {
  custom: {
    50: '#ca7ec6',
    500: '#af43ad',
    950: '#000000',
  },
}
SCSS
$custom: #af43ad;
$custom-light: #ca7ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#af43ad",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 173
  },
  "hsl": {
    "h": 301.111,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56885,
    "c": 0.18837,
    "h": 328.4
  },
  "luminance": 0.16145
}

Semantic roles & 50–950 ramp

primary
#AF43AD
secondary
#8BC28C
accent
#D45653
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF43AD

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

Preview Lab → · Contrast checker → · Palette generator →

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