#AF43D8#AF43D8

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

Color values

HEX#AF43D8
RGBrgb(175, 67, 216)
HSLhsl(283, 66%, 55%)
HSVhsv(283, 69%, 85%)
CMYKcmyk(19%, 69%, 0%, 15.3%)
CIE-LABlab(49.60, 65.36, -56.80)
CIE-LCHlch(49.60, 86.59, 319.01°)
OKLaboklab(59.42% 0.1604 -0.1599)
OKLCHoklch(59.42% 0.226 315.1)
XYZxyz(32.0790, 18.0873, 66.7538)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43D8 #6CD843
analogous
#6443D8 #AF43D8 #D843B6
triadic
#AF43D8 #D8AF43 #43D8AF
tetradic
#AF43D8 #D86443 #6CD843 #43B6D8
square
#AF43D8 #D86443 #6CD843 #43B6D8
split-complementary
#AF43D8 #B6D843 #43D864
monochromatic
#681C85 #9026B8 #AF43D8 #C576E3 #DAA8ED

Accessibility & contrast

On white

4.55
#AF43D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#AF43D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF43D8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43D8#FFFFFF#000000##000000
##AF43D81.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#3F79D5
Tritanopia (blue-blind)
#AC6189
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af43d8;
/* rgb */ color: rgb(175, 67, 216);
/* oklch */ color: oklch(59.4% 0.226 315.1);
Tailwind
colors: {
  custom: {
    50: '#cb80e5',
    500: '#af43d8',
    950: '#000000',
  },
}
SCSS
$custom: #af43d8;
$custom-light: #cb80e5;
$custom-dark: #000000;
JSON
{
  "hex": "#af43d8",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 216
  },
  "hsl": {
    "h": 283.49,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59424,
    "c": 0.22645,
    "h": 315.1
  },
  "luminance": 0.18086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF43D8

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

Preview Lab → · Contrast checker → · Palette generator →

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