#AF53C8#AF53C8

#AF53C8 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.3% C 0.190 H 318.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AF53C8
RGBrgb(175, 83, 200)
HSLhsl(287, 52%, 55%)
HSVhsv(287, 59%, 78%)
CMYKcmyk(12.5%, 58.5%, 0%, 21.6%)
CIE-LABlab(51.23, 55.09, -45.03)
CIE-LCHlch(51.23, 71.15, 320.74°)
OKLaboklab(60.3% 0.1423 -0.1256)
OKLCHoklch(60.3% 0.19 318.6)
XYZxyz(31.1964, 19.4719, 56.7475)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53C8 #6CC853
analogous
#7453C8 #AF53C8 #C853A7
triadic
#AF53C8 #C8AF53 #53C8AF
tetradic
#AF53C8 #C87453 #6CC853 #53A7C8
square
#AF53C8 #C87453 #6CC853 #53A7C8
split-complementary
#AF53C8 #A7C853 #53C874
monochromatic
#68277A #9036A8 #AF53C8 #C581D7 #DAB0E6

Accessibility & contrast

On white

4.29
#AF53C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#AF53C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53C8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53C8#FFFFFF#000000##000000
##AF53C81.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3774CC
Deuteranopia (green-blind)
#597DC5
Tritanopia (blue-blind)
#AF6686
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af53c8;
/* rgb */ color: rgb(175, 83, 200);
/* oklch */ color: oklch(60.3% 0.190 318.6);
Tailwind
colors: {
  custom: {
    50: '#ca88d9',
    500: '#af53c8',
    950: '#000000',
  },
}
SCSS
$custom: #af53c8;
$custom-light: #ca88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#af53c8",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 200
  },
  "hsl": {
    "h": 287.179,
    "s": 51.542,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60304,
    "c": 0.18975,
    "h": 318.6
  },
  "luminance": 0.19471
}

Semantic roles & 50–950 ramp

primary
#AF53C8
secondary
#ADD4A3
accent
#DB4D6B
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF53C8

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

Preview Lab → · Contrast checker → · Palette generator →

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