#AF53BE#AF53BE

#AF53BE is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.8% C 0.180 H 321.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AF53BE
RGBrgb(175, 83, 190)
HSLhsl(292, 45%, 54%)
HSVhsv(292, 56%, 75%)
CMYKcmyk(7.9%, 56.3%, 0%, 25.5%)
CIE-LABlab(50.71, 53.14, -40.09)
CIE-LCHlch(50.71, 66.57, 322.96°)
OKLaboklab(59.75% 0.1416 -0.1112)
OKLCHoklch(59.75% 0.18 321.8)
XYZxyz(30.0657, 19.0196, 50.7927)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53BE #62BE53
analogous
#7953BE #AF53BE #BE5397
triadic
#AF53BE #BEAF53 #53BEAF
tetradic
#AF53BE #BE7953 #62BE53 #5397BE
square
#AF53BE #BE7953 #62BE53 #5397BE
split-complementary
#AF53BE #97BE53 #53BE79
monochromatic
#64296D #8C3A9A #AF53BE #C47FCF #D8ACE0

Accessibility & contrast

On white

4.37
#AF53BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AF53BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53BE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53BE#FFFFFF#000000##000000
##AF53BE1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4072C1
Deuteranopia (green-blind)
#5F7CBB
Tritanopia (blue-blind)
#B16281
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af53be;
/* rgb */ color: rgb(175, 83, 190);
/* oklch */ color: oklch(59.8% 0.180 321.8);
Tailwind
colors: {
  custom: {
    50: '#c988d2',
    500: '#af53be',
    950: '#000000',
  },
}
SCSS
$custom: #af53be;
$custom-light: #c988d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af53be",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 190
  },
  "hsl": {
    "h": 291.589,
    "s": 45.148,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5975,
    "c": 0.18008,
    "h": 321.8
  },
  "luminance": 0.19018
}

Semantic roles & 50–950 ramp

primary
#AF53BE
secondary
#A6CD9F
accent
#D55365
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF53BE

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

Preview Lab → · Contrast checker → · Palette generator →

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