#AF43C8#AF43C8

#AF43C8 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.4% C 0.212 H 319.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AF43C8
RGBrgb(175, 67, 200)
HSLhsl(289, 55%, 52%)
HSVhsv(289, 67%, 78%)
CMYKcmyk(12.5%, 66.5%, 0%, 21.6%)
CIE-LABlab(48.64, 62.25, -49.17)
CIE-LCHlch(48.64, 79.32, 321.70°)
OKLaboklab(58.42% 0.1613 -0.1375)
OKLCHoklch(58.42% 0.212 319.5)
XYZxyz(30.1104, 17.2998, 56.3855)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43C8 #5CC843
analogous
#6D43C8 #AF43C8 #C8439E
triadic
#AF43C8 #C8AF43 #43C8AF
tetradic
#AF43C8 #C86D43 #5CC843 #439EC8
square
#AF43C8 #C86D43 #5CC843 #439EC8
split-complementary
#AF43C8 #9EC843 #43C86D
monochromatic
#612170 #8A2F9F #AF43C8 #C372D6 #D7A2E4

Accessibility & contrast

On white

4.71
#AF43C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AF43C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43C8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43C8#FFFFFF#000000##FFFFFF
##AF43C81.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126CCC
Deuteranopia (green-blind)
#4D77C5
Tritanopia (blue-blind)
#AF5B80
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af43c8;
/* rgb */ color: rgb(175, 67, 200);
/* oklch */ color: oklch(58.4% 0.212 319.5);
Tailwind
colors: {
  custom: {
    50: '#ca7fd9',
    500: '#af43c8',
    950: '#000000',
  },
}
SCSS
$custom: #af43c8;
$custom-light: #ca7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#af43c8",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 200
  },
  "hsl": {
    "h": 288.722,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58421,
    "c": 0.21194,
    "h": 319.5
  },
  "luminance": 0.17298
}

Semantic roles & 50–950 ramp

primary
#AF43C8
secondary
#A1D096
accent
#DE4A66
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF43C8

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

Preview Lab → · Contrast checker → · Palette generator →

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