#AF53E8#AF53E8

#AF53E8 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.2% C 0.222 H 309.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AF53E8
RGBrgb(175, 83, 232)
HSLhsl(277, 76%, 62%)
HSVhsv(277, 64%, 91%)
CMYKcmyk(24.6%, 64.2%, 0%, 9%)
CIE-LABlab(53.09, 61.73, -60.25)
CIE-LCHlch(53.09, 86.26, 315.69°)
OKLaboklab(62.24% 0.142 -0.1701)
OKLCHoklch(62.24% 0.222 309.9)
XYZxyz(35.3351, 21.1274, 78.5448)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53E8 #8CE853
analogous
#6553E8 #AF53E8 #E853D7
triadic
#AF53E8 #E8AF53 #53E8AF
tetradic
#AF53E8 #E86553 #8CE853 #53D7E8
square
#AF53E8 #E86553 #8CE853 #53D7E8
split-complementary
#AF53E8 #D7E853 #53E865
monochromatic
#7217AA #961EE0 #AF53E8 #C889EF #E1BFF6

Accessibility & contrast

On white

4.02
#AF53E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#AF53E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53E8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53E8#FFFFFF#000000##000000
##AF53E81.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#3E80E5
Tritanopia (blue-blind)
#A77196
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af53e8;
/* rgb */ color: rgb(175, 83, 232);
/* oklch */ color: oklch(62.2% 0.222 309.9);
Tailwind
colors: {
  custom: {
    50: '#cb89f0',
    500: '#af53e8',
    950: '#000000',
  },
}
SCSS
$custom: #af53e8;
$custom-light: #cb89f0;
$custom-dark: #000000;
JSON
{
  "hex": "#af53e8",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 232
  },
  "hsl": {
    "h": 277.047,
    "s": 76.41,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62244,
    "c": 0.22158,
    "h": 309.9
  },
  "luminance": 0.21127
}

Semantic roles & 50–950 ramp

primary
#AF53E8
secondary
#C5E7B0
accent
#D90D5B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AF53E8

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

Preview Lab → · Contrast checker → · Palette generator →

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