#AF43D7#AF43D7

#AF43D7 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.4% C 0.226 H 315.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AF43D7
RGBrgb(175, 67, 215)
HSLhsl(284, 65%, 55%)
HSVhsv(284, 69%, 84%)
CMYKcmyk(18.6%, 68.8%, 0%, 15.7%)
CIE-LABlab(49.54, 65.16, -56.33)
CIE-LCHlch(49.54, 86.13, 319.16°)
OKLaboklab(59.36% 0.1605 -0.1585)
OKLCHoklch(59.36% 0.226 315.4)
XYZxyz(31.9501, 18.0357, 66.0750)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43D7 #6BD743
analogous
#6543D7 #AF43D7 #D743B5
triadic
#AF43D7 #D7AF43 #43D7AF
tetradic
#AF43D7 #D76543 #6BD743 #43B5D7
square
#AF43D7 #D76543 #6BD743 #43B5D7
split-complementary
#AF43D7 #B5D743 #43D765
monochromatic
#681C84 #8F27B6 #AF43D7 #C475E2 #DAA8EC

Accessibility & contrast

On white

4.56
#AF43D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AF43D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF43D7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43D7#FFFFFF#000000##000000
##AF43D71.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#4079D4
Tritanopia (blue-blind)
#AC6188
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af43d7;
/* rgb */ color: rgb(175, 67, 215);
/* oklch */ color: oklch(59.4% 0.226 315.4);
Tailwind
colors: {
  custom: {
    50: '#cb80e4',
    500: '#af43d7',
    950: '#000000',
  },
}
SCSS
$custom: #af43d7;
$custom-light: #cb80e4;
$custom-dark: #000000;
JSON
{
  "hex": "#af43d7",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 215
  },
  "hsl": {
    "h": 283.784,
    "s": 64.912,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59359,
    "c": 0.22554,
    "h": 315.4
  },
  "luminance": 0.18035
}

Semantic roles & 50–950 ramp

primary
#AF43D7
secondary
#ADDA9C
accent
#E8406D
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF43D7

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

Preview Lab → · Contrast checker → · Palette generator →

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