#AF53C9#AF53C9

#AF53C9 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.4% C 0.191 H 318.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AF53C9
RGBrgb(175, 83, 201)
HSLhsl(287, 52%, 56%)
HSVhsv(287, 59%, 79%)
CMYKcmyk(12.9%, 58.7%, 0%, 21.2%)
CIE-LABlab(51.29, 55.29, -45.52)
CIE-LCHlch(51.29, 71.62, 320.54°)
OKLaboklab(60.36% 0.1423 -0.127)
OKLCHoklch(60.36% 0.191 318.3)
XYZxyz(31.3136, 19.5188, 57.3651)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53C9 #6DC953
analogous
#7453C9 #AF53C9 #C953A8
triadic
#AF53C9 #C9AF53 #53C9AF
tetradic
#AF53C9 #C97453 #6DC953 #53A8C9
square
#AF53C9 #C97453 #6DC953 #53A8C9
split-complementary
#AF53C9 #A8C953 #53C974
monochromatic
#68277B #9035AA #AF53C9 #C582D8 #DAB0E6

Accessibility & contrast

On white

4.28
#AF53C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#AF53C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53C9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53C9#FFFFFF#000000##000000
##AF53C91.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3674CD
Deuteranopia (green-blind)
#597DC6
Tritanopia (blue-blind)
#AF6686
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af53c9;
/* rgb */ color: rgb(175, 83, 201);
/* oklch */ color: oklch(60.4% 0.191 318.3);
Tailwind
colors: {
  custom: {
    50: '#ca88da',
    500: '#af53c9',
    950: '#000000',
  },
}
SCSS
$custom: #af53c9;
$custom-light: #ca88da;
$custom-dark: #000000;
JSON
{
  "hex": "#af53c9",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 201
  },
  "hsl": {
    "h": 286.78,
    "s": 52.212,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60361,
    "c": 0.19073,
    "h": 318.3
  },
  "luminance": 0.19518
}

Semantic roles & 50–950 ramp

primary
#AF53C9
secondary
#AED4A3
accent
#DC4C6C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF53C9

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

Preview Lab → · Contrast checker → · Palette generator →

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