#AF53EA#AF53EA

#AF53EA is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.4% C 0.224 H 309.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AF53EA
RGBrgb(175, 83, 234)
HSLhsl(277, 78%, 62%)
HSVhsv(277, 65%, 92%)
CMYKcmyk(25.2%, 64.5%, 0%, 8.2%)
CIE-LABlab(53.21, 62.16, -61.18)
CIE-LCHlch(53.21, 87.21, 315.46°)
OKLaboklab(62.37% 0.1419 -0.1728)
OKLCHoklch(62.37% 0.224 309.4)
XYZxyz(35.6208, 21.2416, 80.0495)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53EA #8EEA53
analogous
#6453EA #AF53EA #EA53DA
triadic
#AF53EA #EAAF53 #53EAAF
tetradic
#AF53EA #EA6453 #8EEA53 #53DAEA
square
#AF53EA #EA6453 #8EEA53 #53DAEA
split-complementary
#AF53EA #DAEA53 #53EA64
monochromatic
#7215AD #961CE3 #AF53EA #C88AF1 #E2C0F7

Accessibility & contrast

On white

4.00
#AF53EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#AF53EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53EA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53EA#FFFFFF#000000##000000
##AF53EA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#3B80E7
Tritanopia (blue-blind)
#A77298
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af53ea;
/* rgb */ color: rgb(175, 83, 234);
/* oklch */ color: oklch(62.4% 0.224 309.4);
Tailwind
colors: {
  custom: {
    50: '#cb89f1',
    500: '#af53ea',
    950: '#000000',
  },
}
SCSS
$custom: #af53ea;
$custom-light: #cb89f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af53ea",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 234
  },
  "hsl": {
    "h": 276.556,
    "s": 78.238,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62373,
    "c": 0.22359,
    "h": 309.4
  },
  "luminance": 0.21241
}

Semantic roles & 50–950 ramp

primary
#AF53EA
secondary
#C6E8B1
accent
#DB0B5C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AF53EA

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

Preview Lab → · Contrast checker → · Palette generator →

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