#AF3DCA#AF3DCA

#AF3DCA is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.9% C 0.221 H 319.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AF3DCA
RGBrgb(175, 61, 202)
HSLhsl(289, 57%, 52%)
HSVhsv(289, 70%, 79%)
CMYKcmyk(13.4%, 69.8%, 0%, 20.8%)
CIE-LABlab(47.90, 65.02, -51.49)
CIE-LCHlch(47.90, 82.94, 321.62°)
OKLaboklab(57.93% 0.1675 -0.1443)
OKLCHoklch(57.93% 0.221 319.3)
XYZxyz(30.0072, 16.7171, 57.5118)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DCA #58CA3D
analogous
#693DCA #AF3DCA #CA3D9E
triadic
#AF3DCA #CAAF3D #3DCAAF
tetradic
#AF3DCA #CA693D #58CA3D #3D9ECA
square
#AF3DCA #CA693D #58CA3D #3D9ECA
split-complementary
#AF3DCA #9ECA3D #3DCA69
monochromatic
#5F1E6E #882B9F #AF3DCA #C36DD7 #D79DE4

Accessibility & contrast

On white

4.84
#AF3DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AF3DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DCA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DCA#FFFFFF#000000##FFFFFF
##AF3DCA1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#4775C7
Tritanopia (blue-blind)
#AF587F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3dca;
/* rgb */ color: rgb(175, 61, 202);
/* oklch */ color: oklch(57.9% 0.221 319.3);
Tailwind
colors: {
  custom: {
    50: '#cb7cdb',
    500: '#af3dca',
    950: '#000000',
  },
}
SCSS
$custom: #af3dca;
$custom-light: #cb7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dca",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 288.511,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57933,
    "c": 0.22109,
    "h": 319.3
  },
  "luminance": 0.16716
}

Semantic roles & 50–950 ramp

primary
#AF3DCA
secondary
#9ED092
accent
#E04765
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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