#AF43D2#AF43D2

#AF43D2 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.0% C 0.221 H 316.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AF43D2
RGBrgb(175, 67, 210)
HSLhsl(285, 61%, 54%)
HSVhsv(285, 68%, 82%)
CMYKcmyk(16.7%, 68.1%, 0%, 17.6%)
CIE-LABlab(49.23, 64.17, -53.96)
CIE-LCHlch(49.23, 83.85, 319.94°)
OKLaboklab(59.04% 0.1608 -0.1516)
OKLCHoklch(59.04% 0.221 316.7)
XYZxyz(31.3175, 17.7827, 62.7430)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43D2 #66D243
analogous
#6843D2 #AF43D2 #D243AD
triadic
#AF43D2 #D2AF43 #43D2AF
tetradic
#AF43D2 #D26843 #66D243 #43ADD2
square
#AF43D2 #D26843 #66D243 #43ADD2
split-complementary
#AF43D2 #ADD243 #43D268
monochromatic
#661E7D #8E2AAE #AF43D2 #C474DE #D9A6EA

Accessibility & contrast

On white

4.61
#AF43D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#AF43D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43D2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43D2#FFFFFF#000000##FFFFFF
##AF43D21.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#4578CF
Tritanopia (blue-blind)
#AD5F86
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af43d2;
/* rgb */ color: rgb(175, 67, 210);
/* oklch */ color: oklch(59.0% 0.221 316.7);
Tailwind
colors: {
  custom: {
    50: '#cb80e0',
    500: '#af43d2',
    950: '#000000',
  },
}
SCSS
$custom: #af43d2;
$custom-light: #cb80e0;
$custom-dark: #000000;
JSON
{
  "hex": "#af43d2",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 210
  },
  "hsl": {
    "h": 285.315,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5904,
    "c": 0.22098,
    "h": 316.7
  },
  "luminance": 0.17781
}

Semantic roles & 50–950 ramp

primary
#AF43D2
secondary
#A9D79A
accent
#E4436B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF43D2

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

Preview Lab → · Contrast checker → · Palette generator →

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