#AF53EF#AF53EF

#AF53EF is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.7% C 0.229 H 308.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AF53EF
RGBrgb(175, 83, 239)
HSLhsl(275, 83%, 63%)
HSVhsv(275, 65%, 94%)
CMYKcmyk(26.8%, 65.3%, 0%, 6.3%)
CIE-LABlab(53.53, 63.24, -63.47)
CIE-LCHlch(53.53, 89.60, 314.90°)
OKLaboklab(62.7% 0.1415 -0.1795)
OKLCHoklch(62.7% 0.229 308.2)
XYZxyz(36.3493, 21.5330, 83.8860)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53EF #93EF53
analogous
#6153EF #AF53EF #EF53E1
triadic
#AF53EF #EFAF53 #53EFAF
tetradic
#AF53EF #EF6153 #93EF53 #53E1EF
square
#AF53EF #EF6153 #93EF53 #53E1EF
split-complementary
#AF53EF #E1EF53 #53EF61
monochromatic
#7311B7 #951BEA #AF53EF #C98BF4 #E3C3F9

Accessibility & contrast

On white

3.96
#AF53EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#AF53EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53EF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53EF#FFFFFF#000000##000000
##AF53EF1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#3581EC
Tritanopia (blue-blind)
#A5749A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af53ef;
/* rgb */ color: rgb(175, 83, 239);
/* oklch */ color: oklch(62.7% 0.229 308.2);
Tailwind
colors: {
  custom: {
    50: '#cb89f5',
    500: '#af53ef',
    950: '#000000',
  },
}
SCSS
$custom: #af53ef;
$custom-light: #cb89f5;
$custom-dark: #000000;
JSON
{
  "hex": "#af53ef",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 239
  },
  "hsl": {
    "h": 275.385,
    "s": 82.979,
    "l": 63.137
  },
  "oklch": {
    "l": 0.627,
    "c": 0.22861,
    "h": 308.2
  },
  "luminance": 0.21532
}

Semantic roles & 50–950 ramp

primary
#AF53EF
secondary
#CAEBB3
accent
#DF065F
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #AF53EF

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

Preview Lab → · Contrast checker → · Palette generator →

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