#AF3DC9#AF3DC9

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

Color values

HEX#AF3DC9
RGBrgb(175, 61, 201)
HSLhsl(289, 56%, 51%)
HSVhsv(289, 70%, 79%)
CMYKcmyk(12.9%, 69.7%, 0%, 21.2%)
CIE-LABlab(47.84, 64.83, -51.01)
CIE-LCHlch(47.84, 82.50, 321.80°)
OKLaboklab(57.87% 0.1676 -0.1429)
OKLCHoklch(57.87% 0.22 319.5)
XYZxyz(29.8892, 16.6699, 56.8902)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DC9 #57C93D
analogous
#693DC9 #AF3DC9 #C93D9D
triadic
#AF3DC9 #C9AF3D #3DC9AF
tetradic
#AF3DC9 #C9693D #57C93D #3D9DC9
square
#AF3DC9 #C9693D #57C93D #3D9DC9
split-complementary
#AF3DC9 #9DC93D #3DC969
monochromatic
#5F1E6D #882C9D #AF3DC9 #C36DD6 #D69DE4

Accessibility & contrast

On white

4.85
#AF3DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AF3DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DC9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DC9#FFFFFF#000000##FFFFFF
##AF3DC91.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACD
Deuteranopia (green-blind)
#4875C6
Tritanopia (blue-blind)
#AF577F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3dc9;
/* rgb */ color: rgb(175, 61, 201);
/* oklch */ color: oklch(57.9% 0.220 319.5);
Tailwind
colors: {
  custom: {
    50: '#cb7cda',
    500: '#af3dc9',
    950: '#000000',
  },
}
SCSS
$custom: #af3dc9;
$custom-light: #cb7cda;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dc9",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 201
  },
  "hsl": {
    "h": 288.857,
    "s": 56.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57871,
    "c": 0.22022,
    "h": 319.5
  },
  "luminance": 0.16668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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