#AF43D5#AF43D5

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

Color values

HEX#AF43D5
RGBrgb(175, 67, 213)
HSLhsl(284, 63%, 55%)
HSVhsv(284, 69%, 84%)
CMYKcmyk(17.8%, 68.5%, 0%, 16.5%)
CIE-LABlab(49.42, 64.76, -55.38)
CIE-LCHlch(49.42, 85.21, 319.46°)
OKLaboklab(59.23% 0.1606 -0.1557)
OKLCHoklch(59.23% 0.224 315.9)
XYZxyz(31.6947, 17.9336, 64.7299)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43D5 #69D543
analogous
#6643D5 #AF43D5 #D543B2
triadic
#AF43D5 #D5AF43 #43D5AF
tetradic
#AF43D5 #D56643 #69D543 #43B2D5
square
#AF43D5 #D56643 #69D543 #43B2D5
split-complementary
#AF43D5 #B2D543 #43D566
monochromatic
#671D81 #8F28B3 #AF43D5 #C475E0 #DAA7EB

Accessibility & contrast

On white

4.58
#AF43D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#AF43D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF43D5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43D5#FFFFFF#000000##000000
##AF43D51.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#4278D2
Tritanopia (blue-blind)
#AC6087
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af43d5;
/* rgb */ color: rgb(175, 67, 213);
/* oklch */ color: oklch(59.2% 0.224 315.9);
Tailwind
colors: {
  custom: {
    50: '#cb80e3',
    500: '#af43d5',
    950: '#000000',
  },
}
SCSS
$custom: #af43d5;
$custom-light: #cb80e3;
$custom-dark: #000000;
JSON
{
  "hex": "#af43d5",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 213
  },
  "hsl": {
    "h": 284.384,
    "s": 63.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59231,
    "c": 0.22371,
    "h": 315.9
  },
  "luminance": 0.17932
}

Semantic roles & 50–950 ramp

primary
#AF43D5
secondary
#ABD99B
accent
#E7416C
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B15
muted
#827C84

Preview Lab

Preview with #AF43D5

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

Preview Lab → · Contrast checker → · Palette generator →

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