#AF43D0#AF43D0

#AF43D0 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.9% C 0.219 H 317.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AF43D0
RGBrgb(175, 67, 208)
HSLhsl(286, 60%, 54%)
HSVhsv(286, 68%, 82%)
CMYKcmyk(15.9%, 67.8%, 0%, 18.4%)
CIE-LABlab(49.11, 63.79, -53.01)
CIE-LCHlch(49.11, 82.94, 320.27°)
OKLaboklab(58.91% 0.1609 -0.1488)
OKLCHoklch(58.91% 0.219 317.2)
XYZxyz(31.0699, 17.6836, 61.4389)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43D0 #64D043
analogous
#6943D0 #AF43D0 #D043AB
triadic
#AF43D0 #D0AF43 #43D0AF
tetradic
#AF43D0 #D06943 #64D043 #43ABD0
square
#AF43D0 #D06943 #64D043 #43ABD0
split-complementary
#AF43D0 #ABD043 #43D069
monochromatic
#651F7A #8D2BAB #AF43D0 #C474DC #D9A5E8

Accessibility & contrast

On white

4.63
#AF43D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AF43D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43D0
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43D0#FFFFFF#000000##FFFFFF
##AF43D01.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED4
Deuteranopia (green-blind)
#4678CD
Tritanopia (blue-blind)
#AE5E84
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af43d0;
/* rgb */ color: rgb(175, 67, 208);
/* oklch */ color: oklch(58.9% 0.219 317.2);
Tailwind
colors: {
  custom: {
    50: '#cb7fdf',
    500: '#af43d0',
    950: '#000000',
  },
}
SCSS
$custom: #af43d0;
$custom-light: #cb7fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#af43d0",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 208
  },
  "hsl": {
    "h": 285.957,
    "s": 60,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58914,
    "c": 0.21916,
    "h": 317.2
  },
  "luminance": 0.17682
}

Semantic roles & 50–950 ramp

primary
#AF43D0
secondary
#A7D599
accent
#E3456A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF43D0

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

Preview Lab → · Contrast checker → · Palette generator →

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