#AF43CD#AF43CD

#AF43CD is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.7% C 0.216 H 318.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AF43CD
RGBrgb(175, 67, 205)
HSLhsl(287, 58%, 53%)
HSVhsv(287, 67%, 80%)
CMYKcmyk(14.6%, 67.3%, 0%, 19.6%)
CIE-LABlab(48.93, 63.20, -51.58)
CIE-LCHlch(48.93, 81.58, 320.79°)
OKLaboklab(58.73% 0.1611 -0.1446)
OKLCHoklch(58.73% 0.216 318.1)
XYZxyz(30.7043, 17.5374, 59.5135)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43CD #61CD43
analogous
#6A43CD #AF43CD #CD43A6
triadic
#AF43CD #CDAF43 #43CDAF
tetradic
#AF43CD #CD6A43 #61CD43 #43A6CD
square
#AF43CD #CD6A43 #61CD43 #43A6CD
split-complementary
#AF43CD #A6CD43 #43CD6A
monochromatic
#631F76 #8C2CA7 #AF43CD #C473DA #D8A4E7

Accessibility & contrast

On white

4.66
#AF43CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#AF43CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43CD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43CD#FFFFFF#000000##FFFFFF
##AF43CD1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#4978CA
Tritanopia (blue-blind)
#AE5D83
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af43cd;
/* rgb */ color: rgb(175, 67, 205);
/* oklch */ color: oklch(58.7% 0.216 318.1);
Tailwind
colors: {
  custom: {
    50: '#cb7fdd',
    500: '#af43cd',
    950: '#000000',
  },
}
SCSS
$custom: #af43cd;
$custom-light: #cb7fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#af43cd",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 205
  },
  "hsl": {
    "h": 286.957,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58728,
    "c": 0.21644,
    "h": 318.1
  },
  "luminance": 0.17536
}

Semantic roles & 50–950 ramp

primary
#AF43CD
secondary
#A5D498
accent
#E14768
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF43CD

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

Preview Lab → · Contrast checker → · Palette generator →

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