#AF43D4#AF43D4

#AF43D4 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.2% C 0.223 H 316.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AF43D4
RGBrgb(175, 67, 212)
HSLhsl(285, 63%, 55%)
HSVhsv(285, 68%, 83%)
CMYKcmyk(17.5%, 68.4%, 0%, 16.9%)
CIE-LABlab(49.35, 64.57, -54.91)
CIE-LCHlch(49.35, 84.76, 319.62°)
OKLaboklab(59.17% 0.1607 -0.1543)
OKLCHoklch(59.17% 0.223 316.1)
XYZxyz(31.5682, 17.8829, 64.0635)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43D4 #68D443
analogous
#6743D4 #AF43D4 #D443B0
triadic
#AF43D4 #D4AF43 #43D4AF
tetradic
#AF43D4 #D46743 #68D443 #43B0D4
square
#AF43D4 #D46743 #68D443 #43B0D4
split-complementary
#AF43D4 #B0D443 #43D467
monochromatic
#661D7F #8E29B1 #AF43D4 #C475DF #D9A7EB

Accessibility & contrast

On white

4.59
#AF43D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AF43D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43D4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43D4#FFFFFF#000000##FFFFFF
##AF43D41.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#4378D1
Tritanopia (blue-blind)
#AD6087
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af43d4;
/* rgb */ color: rgb(175, 67, 212);
/* oklch */ color: oklch(59.2% 0.223 316.1);
Tailwind
colors: {
  custom: {
    50: '#cb80e2',
    500: '#af43d4',
    950: '#000000',
  },
}
SCSS
$custom: #af43d4;
$custom-light: #cb80e2;
$custom-dark: #000000;
JSON
{
  "hex": "#af43d4",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 212
  },
  "hsl": {
    "h": 284.69,
    "s": 62.771,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59167,
    "c": 0.2228,
    "h": 316.1
  },
  "luminance": 0.17882
}

Semantic roles & 50–950 ramp

primary
#AF43D4
secondary
#AAD89B
accent
#E6426C
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF43D4

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

Preview Lab → · Contrast checker → · Palette generator →

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