#AF53D9#AF53D9

#AF53D9 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.3% C 0.207 H 313.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AF53D9
RGBrgb(175, 83, 217)
HSLhsl(281, 64%, 59%)
HSVhsv(281, 62%, 85%)
CMYKcmyk(19.4%, 61.8%, 0%, 14.9%)
CIE-LABlab(52.19, 58.55, -53.22)
CIE-LCHlch(52.19, 79.13, 317.73°)
OKLaboklab(61.3% 0.1426 -0.1495)
OKLCHoklch(61.3% 0.207 313.6)
XYZxyz(33.2947, 20.3112, 67.7988)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53D9 #7DD953
analogous
#6C53D9 #AF53D9 #D953C0
triadic
#AF53D9 #D9AF53 #53D9AF
tetradic
#AF53D9 #D96C53 #7DD953 #53C0D9
square
#AF53D9 #D96C53 #7DD953 #53C0D9
split-complementary
#AF53D9 #C0D953 #53D96C
monochromatic
#6E2091 #942BC4 #AF53D9 #C685E4 #DEB7EF

Accessibility & contrast

On white

4.15
#AF53D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#AF53D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53D9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53D9#FFFFFF#000000##000000
##AF53D91.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2077DD
Deuteranopia (green-blind)
#4D7FD6
Tritanopia (blue-blind)
#AB6C8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #af53d9;
/* rgb */ color: rgb(175, 83, 217);
/* oklch */ color: oklch(61.3% 0.207 313.6);
Tailwind
colors: {
  custom: {
    50: '#ca89e5',
    500: '#af53d9',
    950: '#000000',
  },
}
SCSS
$custom: #af53d9;
$custom-light: #ca89e5;
$custom-dark: #000000;
JSON
{
  "hex": "#af53d9",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 217
  },
  "hsl": {
    "h": 281.194,
    "s": 63.81,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61304,
    "c": 0.20657,
    "h": 313.6
  },
  "luminance": 0.2031
}

Semantic roles & 50–950 ramp

primary
#AF53D9
secondary
#BADEAA
accent
#E74175
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF53D9

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

Preview Lab → · Contrast checker → · Palette generator →

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