#AF43CF#AF43CF

#AF43CF is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.9% C 0.218 H 317.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AF43CF
RGBrgb(175, 67, 207)
HSLhsl(286, 59%, 54%)
HSVhsv(286, 68%, 81%)
CMYKcmyk(15.5%, 67.6%, 0%, 18.8%)
CIE-LABlab(49.05, 63.59, -52.53)
CIE-LCHlch(49.05, 82.48, 320.44°)
OKLaboklab(58.85% 0.161 -0.1474)
OKLCHoklch(58.85% 0.218 317.5)
XYZxyz(30.9472, 17.6346, 60.7930)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43CF #63CF43
analogous
#6943CF #AF43CF #CF43A9
triadic
#AF43CF #CFAF43 #43CFAF
tetradic
#AF43CF #CF6943 #63CF43 #43A9CF
square
#AF43CF #CF6943 #63CF43 #43A9CF
split-complementary
#AF43CF #A9CF43 #43CF69
monochromatic
#641F79 #8D2BAA #AF43CF #C474DB #D8A5E8

Accessibility & contrast

On white

4.64
#AF43CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#AF43CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43CF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43CF#FFFFFF#000000##FFFFFF
##AF43CF1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#4778CC
Tritanopia (blue-blind)
#AE5E84
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af43cf;
/* rgb */ color: rgb(175, 67, 207);
/* oklch */ color: oklch(58.9% 0.218 317.5);
Tailwind
colors: {
  custom: {
    50: '#cb7fde',
    500: '#af43cf',
    950: '#000000',
  },
}
SCSS
$custom: #af43cf;
$custom-light: #cb7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#af43cf",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 207
  },
  "hsl": {
    "h": 286.286,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58852,
    "c": 0.21825,
    "h": 317.5
  },
  "luminance": 0.17633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF43CF

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

Preview Lab → · Contrast checker → · Palette generator →

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