#AF3ADA#AF3ADA

#AF3ADA is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.7% C 0.238 H 315.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AF3ADA
RGBrgb(175, 58, 218)
HSLhsl(284, 68%, 54%)
HSVhsv(284, 73%, 85%)
CMYKcmyk(19.7%, 73.4%, 0%, 14.5%)
CIE-LABlab(48.52, 69.19, -59.69)
CIE-LCHlch(48.52, 91.38, 319.22°)
OKLaboklab(58.69% 0.1689 -0.1683)
OKLCHoklch(58.69% 0.238 315.1)
XYZxyz(31.8451, 17.2032, 67.9591)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3ADA #65DA3A
analogous
#5F3ADA #AF3ADA #DA3AB5
triadic
#AF3ADA #DAAF3A #3ADAAF
tetradic
#AF3ADA #DA5F3A #65DA3A #3AB5DA
square
#AF3ADA #DA5F3A #65DA3A #3AB5DA
split-complementary
#AF3ADA #B5DA3A #3ADA5F
monochromatic
#651881 #8D22B5 #AF3ADA #C46EE4 #D9A1ED

Accessibility & contrast

On white

4.73
#AF3ADA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AF3ADA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3ADA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3ADA#FFFFFF#000000##FFFFFF
##AF3ADA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#3476D7
Tritanopia (blue-blind)
#AB5D88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af3ada;
/* rgb */ color: rgb(175, 58, 218);
/* oklch */ color: oklch(58.7% 0.238 315.1);
Tailwind
colors: {
  custom: {
    50: '#cb7be6',
    500: '#af3ada',
    950: '#000000',
  },
}
SCSS
$custom: #af3ada;
$custom-light: #cb7be6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ada",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 218
  },
  "hsl": {
    "h": 283.875,
    "s": 68.376,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58691,
    "c": 0.23842,
    "h": 315.1
  },
  "luminance": 0.17202
}

Semantic roles & 50–950 ramp

primary
#AF3ADA
secondary
#A8DA96
accent
#EB3D6C
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AF3ADA

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

Preview Lab → · Contrast checker → · Palette generator →

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