#AF43B7#AF43B7

#AF43B7 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.4% C 0.197 H 324.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AF43B7
RGBrgb(175, 67, 183)
HSLhsl(296, 46%, 49%)
HSVhsv(296, 63%, 72%)
CMYKcmyk(4.4%, 63.4%, 0%, 28.2%)
CIE-LABlab(47.69, 59.10, -40.81)
CIE-LCHlch(47.69, 71.82, 325.38°)
OKLaboklab(57.43% 0.1611 -0.1132)
OKLCHoklch(57.43% 0.197 324.9)
XYZxyz(28.2329, 16.5488, 46.4977)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43B7 #4BB743
analogous
#7543B7 #AF43B7 #B74385
triadic
#AF43B7 #B7AF43 #43B7AF
tetradic
#AF43B7 #B77543 #4BB743 #4385B7
square
#AF43B7 #B77543 #4BB743 #4385B7
split-complementary
#AF43B7 #85B743 #43B775
monochromatic
#59225D #84338A #AF43B7 #C36DCA #D69ADA

Accessibility & contrast

On white

4.87
#AF43B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AF43B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43B7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43B7#FFFFFF#000000##FFFFFF
##AF43B71.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E69BA
Deuteranopia (green-blind)
#5876B4
Tritanopia (blue-blind)
#B35477
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af43b7;
/* rgb */ color: rgb(175, 67, 183);
/* oklch */ color: oklch(57.4% 0.197 324.9);
Tailwind
colors: {
  custom: {
    50: '#ca7fcd',
    500: '#af43b7',
    950: '#000000',
  },
}
SCSS
$custom: #af43b7;
$custom-light: #ca7fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#af43b7",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 183
  },
  "hsl": {
    "h": 295.862,
    "s": 46.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5743,
    "c": 0.19691,
    "h": 324.9
  },
  "luminance": 0.16547
}

Semantic roles & 50–950 ramp

primary
#AF43B7
secondary
#93C690
accent
#D6525B
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #AF43B7

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

Preview Lab → · Contrast checker → · Palette generator →

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