#AF43AF#AF43AF

#AF43AF is a mid, vivid purple. Relative luminance 0.162; OKLCH L 57.0% C 0.190 H 327.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AF43AF
RGBrgb(175, 67, 175)
HSLhsl(300, 45%, 47%)
HSVhsv(300, 62%, 69%)
CMYKcmyk(0%, 61.7%, 0%, 31.4%)
CIE-LABlab(47.27, 57.69, -36.78)
CIE-LCHlch(47.27, 68.41, 327.48°)
OKLaboklab(56.99% 0.1607 -0.1015)
OKLCHoklch(56.99% 0.19 327.7)
XYZxyz(27.4238, 16.2252, 42.2365)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43AF #43AF43
analogous
#7943AF #AF43AF #AF4379
triadic
#AF43AF #AFAF43 #43AFAF
tetradic
#AF43AF #AF7943 #43AF43 #4379AF
square
#AF43AF #AF7943 #43AF43 #4379AF
split-complementary
#AF43AF #79AF43 #43AF79
monochromatic
#562156 #833283 #AF43AF #C669C6 #D796D7

Accessibility & contrast

On white

4.95
#AF43AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AF43AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43AF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43AF#FFFFFF#000000##FFFFFF
##AF43AF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B2
Deuteranopia (green-blind)
#5C75AC
Tritanopia (blue-blind)
#B45173
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af43af;
/* rgb */ color: rgb(175, 67, 175);
/* oklch */ color: oklch(57.0% 0.190 327.7);
Tailwind
colors: {
  custom: {
    50: '#ca7ec7',
    500: '#af43af',
    950: '#000000',
  },
}
SCSS
$custom: #af43af;
$custom-light: #ca7ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#af43af",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56992,
    "c": 0.19005,
    "h": 327.7
  },
  "luminance": 0.16223
}

Semantic roles & 50–950 ramp

primary
#AF43AF
secondary
#8BC28B
accent
#D45353
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF43AF

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

Preview Lab → · Contrast checker → · Palette generator →

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