#AF53DE#AF53DE

#AF53DE is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.6% C 0.212 H 312.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AF53DE
RGBrgb(175, 83, 222)
HSLhsl(280, 68%, 60%)
HSVhsv(280, 63%, 87%)
CMYKcmyk(21.2%, 62.6%, 0%, 12.9%)
CIE-LABlab(52.48, 59.60, -55.58)
CIE-LCHlch(52.48, 81.50, 317.00°)
OKLaboklab(61.61% 0.1424 -0.1564)
OKLCHoklch(61.61% 0.212 312.3)
XYZxyz(33.9549, 20.5753, 71.2758)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53DE #82DE53
analogous
#6953DE #AF53DE #DE53C8
triadic
#AF53DE #DEAF53 #53DEAF
tetradic
#AF53DE #DE6953 #82DE53 #53C8DE
square
#AF53DE #DE6953 #82DE53 #53C8DE
split-complementary
#AF53DE #C8DE53 #53DE69
monochromatic
#6F1D99 #9527CD #AF53DE #C786E8 #DFBAF2

Accessibility & contrast

On white

4.11
#AF53DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#AF53DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53DE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53DE#FFFFFF#000000##000000
##AF53DE1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1379E2
Deuteranopia (green-blind)
#487FDB
Tritanopia (blue-blind)
#AA6E91
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #af53de;
/* rgb */ color: rgb(175, 83, 222);
/* oklch */ color: oklch(61.6% 0.212 312.3);
Tailwind
colors: {
  custom: {
    50: '#ca89e9',
    500: '#af53de',
    950: '#000000',
  },
}
SCSS
$custom: #af53de;
$custom-light: #ca89e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af53de",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 222
  },
  "hsl": {
    "h": 279.712,
    "s": 67.805,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61611,
    "c": 0.21156,
    "h": 312.3
  },
  "luminance": 0.20574
}

Semantic roles & 50–950 ramp

primary
#AF53DE
secondary
#BEE1AC
accent
#EB3D78
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF53DE

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

Preview Lab → · Contrast checker → · Palette generator →

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