#AF53E2#AF53E2

#AF53E2 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.9% C 0.216 H 311.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AF53E2
RGBrgb(175, 83, 226)
HSLhsl(279, 71%, 61%)
HSVhsv(279, 63%, 89%)
CMYKcmyk(22.6%, 63.3%, 0%, 11.4%)
CIE-LABlab(52.72, 60.45, -57.46)
CIE-LCHlch(52.72, 83.40, 316.45°)
OKLaboklab(61.86% 0.1423 -0.1619)
OKLCHoklch(61.86% 0.216 311.3)
XYZxyz(34.4974, 20.7923, 74.1328)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53E2 #86E253
analogous
#6753E2 #AF53E2 #E253CE
triadic
#AF53E2 #E2AF53 #53E2AF
tetradic
#AF53E2 #E26753 #86E253 #53CEE2
square
#AF53E2 #E26753 #86E253 #53CEE2
split-complementary
#AF53E2 #CEE253 #53E267
monochromatic
#701BA0 #9524D4 #AF53E2 #C787EB #E0BCF4

Accessibility & contrast

On white

4.07
#AF53E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#AF53E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53E2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53E2#FFFFFF#000000##000000
##AF53E21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0279E6
Deuteranopia (green-blind)
#4480DF
Tritanopia (blue-blind)
#A96F93
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #af53e2;
/* rgb */ color: rgb(175, 83, 226);
/* oklch */ color: oklch(61.9% 0.216 311.3);
Tailwind
colors: {
  custom: {
    50: '#cb89ec',
    500: '#af53e2',
    950: '#000000',
  },
}
SCSS
$custom: #af53e2;
$custom-light: #cb89ec;
$custom-dark: #000000;
JSON
{
  "hex": "#af53e2",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 226
  },
  "hsl": {
    "h": 278.601,
    "s": 71.144,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61862,
    "c": 0.21556,
    "h": 311.3
  },
  "luminance": 0.20791
}

Semantic roles & 50–950 ramp

primary
#AF53E2
secondary
#C1E4AD
accent
#D31257
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF53E2

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

Preview Lab → · Contrast checker → · Palette generator →

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