#AF53AF#AF53AF

#AF53AF is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.0% C 0.166 H 327.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AF53AF
RGBrgb(175, 83, 175)
HSLhsl(300, 37%, 51%)
HSVhsv(300, 53%, 69%)
CMYKcmyk(0%, 52.6%, 0%, 31.4%)
CIE-LABlab(49.97, 50.33, -32.53)
CIE-LCHlch(49.97, 59.92, 327.12°)
OKLaboklab(58.97% 0.1399 -0.0894)
OKLCHoklch(58.97% 0.166 327.4)
XYZxyz(28.5098, 18.3973, 42.5985)
Luminance0.1840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53AF #53AF53
analogous
#8153AF #AF53AF #AF5381
triadic
#AF53AF #AFAF53 #53AFAF
tetradic
#AF53AF #AF8153 #53AF53 #5381AF
square
#AF53AF #AF8153 #53AF53 #5381AF
split-complementary
#AF53AF #81AF53 #53AF81
monochromatic
#5D2B5D #863E86 #AF53AF #C27DC2 #D6A7D6

Accessibility & contrast

On white

4.49
#AF53AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#AF53AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53AF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53AF#FFFFFF#000000##000000
##AF53AF1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB2
Deuteranopia (green-blind)
#667BAC
Tritanopia (blue-blind)
#B45D79
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af53af;
/* rgb */ color: rgb(175, 83, 175);
/* oklch */ color: oklch(59.0% 0.166 327.4);
Tailwind
colors: {
  custom: {
    50: '#c988c7',
    500: '#af53af',
    950: '#000000',
  },
}
SCSS
$custom: #af53af;
$custom-light: #c988c7;
$custom-dark: #000000;
JSON
{
  "hex": "#af53af",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58971,
    "c": 0.16604,
    "h": 327.4
  },
  "luminance": 0.18396
}

Semantic roles & 50–950 ramp

primary
#AF53AF
secondary
#9AC39A
accent
#CD5B5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AF53AF

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

Preview Lab → · Contrast checker → · Palette generator →

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