#AF53E7#AF53E7

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

Color values

HEX#AF53E7
RGBrgb(175, 83, 231)
HSLhsl(277, 76%, 62%)
HSVhsv(277, 64%, 91%)
CMYKcmyk(24.2%, 64.1%, 0%, 9.4%)
CIE-LABlab(53.03, 61.51, -59.79)
CIE-LCHlch(53.03, 85.78, 315.81°)
OKLaboklab(62.18% 0.1421 -0.1687)
OKLCHoklch(62.18% 0.221 310.1)
XYZxyz(35.1935, 21.0707, 77.7989)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53E7 #8BE753
analogous
#6553E7 #AF53E7 #E753D5
triadic
#AF53E7 #E7AF53 #53E7AF
tetradic
#AF53E7 #E76553 #8BE753 #53D5E7
square
#AF53E7 #E76553 #8BE753 #53D5E7
split-complementary
#AF53E7 #D5E753 #53E765
monochromatic
#7117A8 #961FDE #AF53E7 #C889EE #E1BEF6

Accessibility & contrast

On white

4.03
#AF53E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#AF53E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53E7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53E7#FFFFFF#000000##000000
##AF53E71.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af53e7;
/* rgb */ color: rgb(175, 83, 231);
/* oklch */ color: oklch(62.2% 0.221 310.1);
Tailwind
colors: {
  custom: {
    50: '#cb89ef',
    500: '#af53e7',
    950: '#000000',
  },
}
SCSS
$custom: #af53e7;
$custom-light: #cb89ef;
$custom-dark: #000000;
JSON
{
  "hex": "#af53e7",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 231
  },
  "hsl": {
    "h": 277.297,
    "s": 75.51,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6218,
    "c": 0.22058,
    "h": 310.1
  },
  "luminance": 0.2107
}

Semantic roles & 50–950 ramp

primary
#AF53E7
secondary
#C4E6AF
accent
#D80E5A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AF53E7

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

Preview Lab → · Contrast checker → · Palette generator →

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