#AF53E4#AF53E4

#AF53E4 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 62.0% C 0.218 H 310.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AF53E4
RGBrgb(175, 83, 228)
HSLhsl(278, 73%, 61%)
HSVhsv(278, 64%, 89%)
CMYKcmyk(23.2%, 63.6%, 0%, 10.6%)
CIE-LABlab(52.84, 60.87, -58.39)
CIE-LCHlch(52.84, 84.35, 316.19°)
OKLaboklab(61.99% 0.1422 -0.1647)
OKLCHoklch(61.99% 0.218 310.8)
XYZxyz(34.7734, 20.9027, 75.5865)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53E4 #88E453
analogous
#6653E4 #AF53E4 #E453D0
triadic
#AF53E4 #E4AF53 #53E4AF
tetradic
#AF53E4 #E46653 #88E453 #53D0E4
square
#AF53E4 #E46653 #88E453 #53D0E4
split-complementary
#AF53E4 #D0E453 #53E466
monochromatic
#711AA3 #9522D8 #AF53E4 #C888EC #E0BDF5

Accessibility & contrast

On white

4.05
#AF53E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#AF53E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53E4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53E4#FFFFFF#000000##000000
##AF53E41.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#4280E1
Tritanopia (blue-blind)
#A87094
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #af53e4;
/* rgb */ color: rgb(175, 83, 228);
/* oklch */ color: oklch(62.0% 0.218 310.8);
Tailwind
colors: {
  custom: {
    50: '#cb89ed',
    500: '#af53e4',
    950: '#000000',
  },
}
SCSS
$custom: #af53e4;
$custom-light: #cb89ed;
$custom-dark: #000000;
JSON
{
  "hex": "#af53e4",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 228
  },
  "hsl": {
    "h": 278.069,
    "s": 72.864,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61988,
    "c": 0.21758,
    "h": 310.8
  },
  "luminance": 0.20902
}

Semantic roles & 50–950 ramp

primary
#AF53E4
secondary
#C2E5AE
accent
#D51158
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF53E4

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

Preview Lab → · Contrast checker → · Palette generator →

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