#AF53EB#AF53EB

#AF53EB is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.4% C 0.225 H 309.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AF53EB
RGBrgb(175, 83, 235)
HSLhsl(276, 79%, 62%)
HSVhsv(276, 65%, 92%)
CMYKcmyk(25.5%, 64.7%, 0%, 7.8%)
CIE-LABlab(53.28, 62.37, -61.64)
CIE-LCHlch(53.28, 87.69, 315.34°)
OKLaboklab(62.44% 0.1418 -0.1742)
OKLCHoklch(62.44% 0.225 309.2)
XYZxyz(35.7649, 21.2993, 80.8082)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53EB #8FEB53
analogous
#6353EB #AF53EB #EB53DB
triadic
#AF53EB #EBAF53 #53EBAF
tetradic
#AF53EB #EB6353 #8FEB53 #53DBEB
square
#AF53EB #EB6353 #8FEB53 #53DBEB
split-complementary
#AF53EB #DBEB53 #53EB63
monochromatic
#7214AF #961CE5 #AF53EB #C98AF1 #E2C1F8

Accessibility & contrast

On white

3.99
#AF53EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#AF53EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53EB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53EB#FFFFFF#000000##000000
##AF53EB1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#3A80E8
Tritanopia (blue-blind)
#A67298
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af53eb;
/* rgb */ color: rgb(175, 83, 235);
/* oklch */ color: oklch(62.4% 0.225 309.2);
Tailwind
colors: {
  custom: {
    50: '#cb89f2',
    500: '#af53eb',
    950: '#000000',
  },
}
SCSS
$custom: #af53eb;
$custom-light: #cb89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#af53eb",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 235
  },
  "hsl": {
    "h": 276.316,
    "s": 79.167,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62438,
    "c": 0.2246,
    "h": 309.2
  },
  "luminance": 0.21299
}

Semantic roles & 50–950 ramp

primary
#AF53EB
secondary
#C7E9B1
accent
#DB0A5D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AF53EB

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

Preview Lab → · Contrast checker → · Palette generator →

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