#AF53E9#AF53E9

#AF53E9 is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.3% C 0.223 H 309.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AF53E9
RGBrgb(175, 83, 233)
HSLhsl(277, 77%, 62%)
HSVhsv(277, 64%, 91%)
CMYKcmyk(24.9%, 64.4%, 0%, 8.6%)
CIE-LABlab(53.15, 61.94, -60.71)
CIE-LCHlch(53.15, 86.74, 315.57°)
OKLaboklab(62.31% 0.1419 -0.1715)
OKLCHoklch(62.31% 0.223 309.6)
XYZxyz(35.4776, 21.1843, 79.2950)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53E9 #8DE953
analogous
#6453E9 #AF53E9 #E953D8
triadic
#AF53E9 #E9AF53 #53E9AF
tetradic
#AF53E9 #E96453 #8DE953 #53D8E9
square
#AF53E9 #E96453 #8DE953 #53D8E9
split-complementary
#AF53E9 #D8E953 #53E964
monochromatic
#7216AC #961DE2 #AF53E9 #C889F0 #E1C0F7

Accessibility & contrast

On white

4.01
#AF53E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#AF53E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53E9
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53E9#FFFFFF#000000##000000
##AF53E91.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#3D80E6
Tritanopia (blue-blind)
#A77297
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af53e9;
/* rgb */ color: rgb(175, 83, 233);
/* oklch */ color: oklch(62.3% 0.223 309.6);
Tailwind
colors: {
  custom: {
    50: '#cb89f1',
    500: '#af53e9',
    950: '#000000',
  },
}
SCSS
$custom: #af53e9;
$custom-light: #cb89f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af53e9",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 233
  },
  "hsl": {
    "h": 276.8,
    "s": 77.32,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62308,
    "c": 0.22259,
    "h": 309.6
  },
  "luminance": 0.21184
}

Semantic roles & 50–950 ramp

primary
#AF53E9
secondary
#C6E8B0
accent
#DA0C5B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AF53E9

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

Preview Lab → · Contrast checker → · Palette generator →

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