#AF53E0#AF53E0

#AF53E0 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.7% C 0.214 H 311.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AF53E0
RGBrgb(175, 83, 224)
HSLhsl(279, 69%, 60%)
HSVhsv(279, 63%, 88%)
CMYKcmyk(21.9%, 62.9%, 0%, 12.2%)
CIE-LABlab(52.60, 60.02, -56.52)
CIE-LCHlch(52.60, 82.45, 316.72°)
OKLaboklab(61.74% 0.1424 -0.1592)
OKLCHoklch(61.74% 0.214 311.8)
XYZxyz(34.2246, 20.6831, 72.6959)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53E0 #84E053
analogous
#6853E0 #AF53E0 #E053CA
triadic
#AF53E0 #E0AF53 #53E0AF
tetradic
#AF53E0 #E06853 #84E053 #53CAE0
square
#AF53E0 #E06853 #84E053 #53CAE0
split-complementary
#AF53E0 #CAE053 #53E068
monochromatic
#701C9C #9526D0 #AF53E0 #C787E9 #DFBBF3

Accessibility & contrast

On white

4.09
#AF53E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#AF53E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53E0
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53E0#FFFFFF#000000##000000
##AF53E01.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C79E4
Deuteranopia (green-blind)
#467FDD
Tritanopia (blue-blind)
#A96E92
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #af53e0;
/* rgb */ color: rgb(175, 83, 224);
/* oklch */ color: oklch(61.7% 0.214 311.8);
Tailwind
colors: {
  custom: {
    50: '#cb89ea',
    500: '#af53e0',
    950: '#000000',
  },
}
SCSS
$custom: #af53e0;
$custom-light: #cb89ea;
$custom-dark: #000000;
JSON
{
  "hex": "#af53e0",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 224
  },
  "hsl": {
    "h": 279.149,
    "s": 69.458,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61736,
    "c": 0.21356,
    "h": 311.8
  },
  "luminance": 0.20682
}

Semantic roles & 50–950 ramp

primary
#AF53E0
secondary
#BFE2AC
accent
#D11456
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF53E0

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

Preview Lab → · Contrast checker → · Palette generator →

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