#AF53DF#AF53DF

#AF53DF is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.7% C 0.213 H 312.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AF53DF
RGBrgb(175, 83, 223)
HSLhsl(279, 69%, 60%)
HSVhsv(279, 63%, 87%)
CMYKcmyk(21.5%, 62.8%, 0%, 12.5%)
CIE-LABlab(52.54, 59.81, -56.05)
CIE-LCHlch(52.54, 81.97, 316.86°)
OKLaboklab(61.67% 0.1424 -0.1578)
OKLCHoklch(61.67% 0.213 312.1)
XYZxyz(34.0893, 20.6291, 71.9838)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53DF #83DF53
analogous
#6953DF #AF53DF #DF53C9
triadic
#AF53DF #DFAF53 #53DFAF
tetradic
#AF53DF #DF6953 #83DF53 #53C9DF
square
#AF53DF #DF6953 #83DF53 #53C9DF
split-complementary
#AF53DF #C9DF53 #53DF69
monochromatic
#701D9B #9526CE #AF53DF #C787E9 #DFBAF2

Accessibility & contrast

On white

4.10
#AF53DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#AF53DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53DF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53DF#FFFFFF#000000##000000
##AF53DF1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1079E3
Deuteranopia (green-blind)
#477FDC
Tritanopia (blue-blind)
#AA6E92
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #af53df;
/* rgb */ color: rgb(175, 83, 223);
/* oklch */ color: oklch(61.7% 0.213 312.1);
Tailwind
colors: {
  custom: {
    50: '#cb89ea',
    500: '#af53df',
    950: '#000000',
  },
}
SCSS
$custom: #af53df;
$custom-light: #cb89ea;
$custom-dark: #000000;
JSON
{
  "hex": "#af53df",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 223
  },
  "hsl": {
    "h": 279.429,
    "s": 68.627,
    "l": 60
  },
  "oklch": {
    "l": 0.61673,
    "c": 0.21256,
    "h": 312.1
  },
  "luminance": 0.20628
}

Semantic roles & 50–950 ramp

primary
#AF53DF
secondary
#BEE2AC
accent
#EB3C78
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF53DF

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

Preview Lab → · Contrast checker → · Palette generator →

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