#AF55DA#AF55DA

#AF55DA is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.6% C 0.205 H 313.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AF55DA
RGBrgb(175, 85, 218)
HSLhsl(281, 64%, 59%)
HSVhsv(281, 61%, 85%)
CMYKcmyk(19.7%, 61%, 0%, 14.5%)
CIE-LABlab(52.59, 57.82, -53.14)
CIE-LCHlch(52.59, 78.53, 317.41°)
OKLaboklab(61.61% 0.1402 -0.1493)
OKLCHoklch(61.61% 0.205 313.2)
XYZxyz(33.5804, 20.6739, 68.5376)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55DA #80DA55
analogous
#6D55DA #AF55DA #DA55C2
triadic
#AF55DA #DAAF55 #55DAAF
tetradic
#AF55DA #DA6D55 #80DA55 #55C2DA
square
#AF55DA #DA6D55 #80DA55 #55C2DA
split-complementary
#AF55DA #C2DA55 #55DA6D
monochromatic
#6F2094 #942BC7 #AF55DA #C787E5 #DEBAF0

Accessibility & contrast

On white

4.09
#AF55DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#AF55DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55DA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55DA#FFFFFF#000000##000000
##AF55DA1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2479DE
Deuteranopia (green-blind)
#4E80D7
Tritanopia (blue-blind)
#AB6E90
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #af55da;
/* rgb */ color: rgb(175, 85, 218);
/* oklch */ color: oklch(61.6% 0.205 313.2);
Tailwind
colors: {
  custom: {
    50: '#ca8ae6',
    500: '#af55da',
    950: '#000000',
  },
}
SCSS
$custom: #af55da;
$custom-light: #ca8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#af55da",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 218
  },
  "hsl": {
    "h": 280.602,
    "s": 64.251,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61615,
    "c": 0.20476,
    "h": 313.2
  },
  "luminance": 0.20673
}

Semantic roles & 50–950 ramp

primary
#AF55DA
secondary
#BCDFAB
accent
#E74176
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF55DA

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

Preview Lab → · Contrast checker → · Palette generator →

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