#AF53F2#AF53F2

#AF53F2 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.9% C 0.232 H 307.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AF53F2
RGBrgb(175, 83, 242)
HSLhsl(275, 86%, 64%)
HSVhsv(275, 66%, 95%)
CMYKcmyk(27.7%, 65.7%, 0%, 5.1%)
CIE-LABlab(53.72, 63.89, -64.84)
CIE-LCHlch(53.72, 91.03, 314.58°)
OKLaboklab(62.9% 0.1413 -0.1836)
OKLCHoklch(62.9% 0.232 307.6)
XYZxyz(36.7961, 21.7118, 86.2395)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53F2 #96F253
analogous
#5F53F2 #AF53F2 #F253E5
triadic
#AF53F2 #F2AF53 #53F2AF
tetradic
#AF53F2 #F25F53 #96F253 #53E5F2
square
#AF53F2 #F25F53 #96F253 #53E5F2
split-complementary
#AF53F2 #E5F253 #53F25F
monochromatic
#730EBC #951AEE #AF53F2 #C98CF6 #E4C5FB

Accessibility & contrast

On white

3.93
#AF53F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#AF53F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53F2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53F2#FFFFFF#000000##000000
##AF53F21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#3081EE
Tritanopia (blue-blind)
#A4759C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af53f2;
/* rgb */ color: rgb(175, 83, 242);
/* oklch */ color: oklch(62.9% 0.232 307.6);
Tailwind
colors: {
  custom: {
    50: '#cb89f7',
    500: '#af53f2',
    950: '#000000',
  },
}
SCSS
$custom: #af53f2;
$custom-light: #cb89f7;
$custom-dark: #000000;
JSON
{
  "hex": "#af53f2",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 242
  },
  "hsl": {
    "h": 274.717,
    "s": 85.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62899,
    "c": 0.23163,
    "h": 307.6
  },
  "luminance": 0.21711
}

Semantic roles & 50–950 ramp

primary
#AF53F2
secondary
#CCECB4
accent
#E20361
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #AF53F2

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

Preview Lab → · Contrast checker → · Palette generator →

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