#AF58DA#AF58DA

#AF58DA is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.0% C 0.200 H 312.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AF58DA
RGBrgb(175, 88, 218)
HSLhsl(280, 64%, 60%)
HSVhsv(280, 60%, 85%)
CMYKcmyk(19.7%, 59.6%, 0%, 14.5%)
CIE-LABlab(53.12, 56.38, -52.30)
CIE-LCHlch(53.12, 76.90, 317.15°)
OKLaboklab(62% 0.1365 -0.1468)
OKLCHoklch(62% 0.2 312.9)
XYZxyz(33.8216, 21.1563, 68.6180)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF58DA #83DA58
analogous
#6E58DA #AF58DA #DA58C4
triadic
#AF58DA #DAAF58 #58DAAF
tetradic
#AF58DA #DA6E58 #83DA58 #58C4DA
square
#AF58DA #DA6E58 #83DA58 #58C4DA
split-complementary
#AF58DA #C4DA58 #58DA6E
monochromatic
#702196 #952CC8 #AF58DA #C78AE5 #DFBCF0

Accessibility & contrast

On white

4.01
#AF58DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#AF58DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF58DA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF58DA#FFFFFF#000000##000000
##AF58DA1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7ADE
Deuteranopia (green-blind)
#5181D7
Tritanopia (blue-blind)
#AB7091
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af58da;
/* rgb */ color: rgb(175, 88, 218);
/* oklch */ color: oklch(62.0% 0.200 312.9);
Tailwind
colors: {
  custom: {
    50: '#ca8be6',
    500: '#af58da',
    950: '#000000',
  },
}
SCSS
$custom: #af58da;
$custom-light: #ca8be6;
$custom-dark: #000000;
JSON
{
  "hex": "#af58da",
  "rgb": {
    "r": 175,
    "g": 88,
    "b": 218
  },
  "hsl": {
    "h": 280.154,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.62,
    "c": 0.20048,
    "h": 312.9
  },
  "luminance": 0.21155
}

Semantic roles & 50–950 ramp

primary
#AF58DA
secondary
#BEE0AE
accent
#E74178
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF58DA

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

Preview Lab → · Contrast checker → · Palette generator →

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