#AF53E1#AF53E1

#AF53E1 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.8% C 0.215 H 311.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AF53E1
RGBrgb(175, 83, 225)
HSLhsl(279, 70%, 60%)
HSVhsv(279, 63%, 88%)
CMYKcmyk(22.2%, 63.1%, 0%, 11.8%)
CIE-LABlab(52.66, 60.23, -56.99)
CIE-LCHlch(52.66, 82.92, 316.58°)
OKLaboklab(61.8% 0.1423 -0.1605)
OKLCHoklch(61.8% 0.215 311.6)
XYZxyz(34.3606, 20.7375, 73.4122)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53E1 #85E153
analogous
#6853E1 #AF53E1 #E153CC
triadic
#AF53E1 #E1AF53 #53E1AF
tetradic
#AF53E1 #E16853 #85E153 #53CCE1
square
#AF53E1 #E16853 #85E153 #53CCE1
split-complementary
#AF53E1 #CCE153 #53E168
monochromatic
#701C9E #9525D2 #AF53E1 #C787EA #DFBBF3

Accessibility & contrast

On white

4.08
#AF53E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#AF53E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53E1
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53E1#FFFFFF#000000##000000
##AF53E11.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0779E5
Deuteranopia (green-blind)
#457FDE
Tritanopia (blue-blind)
#A96F93
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #af53e1;
/* rgb */ color: rgb(175, 83, 225);
/* oklch */ color: oklch(61.8% 0.215 311.6);
Tailwind
colors: {
  custom: {
    50: '#cb89eb',
    500: '#af53e1',
    950: '#000000',
  },
}
SCSS
$custom: #af53e1;
$custom-light: #cb89eb;
$custom-dark: #000000;
JSON
{
  "hex": "#af53e1",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 225
  },
  "hsl": {
    "h": 278.873,
    "s": 70.297,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61799,
    "c": 0.21456,
    "h": 311.6
  },
  "luminance": 0.20737
}

Semantic roles & 50–950 ramp

primary
#AF53E1
secondary
#C0E3AD
accent
#D21356
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF53E1

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

Preview Lab → · Contrast checker → · Palette generator →

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