#AF3CD1#AF3CD1

#AF3CD1 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.228 H 317.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AF3CD1
RGBrgb(175, 60, 209)
HSLhsl(286, 62%, 53%)
HSVhsv(286, 71%, 82%)
CMYKcmyk(16.3%, 71.3%, 0%, 18%)
CIE-LABlab(48.20, 66.73, -55.05)
CIE-LCHlch(48.20, 86.50, 320.48°)
OKLaboklab(58.28% 0.168 -0.1547)
OKLCHoklch(58.28% 0.228 317.4)
XYZxyz(30.8020, 16.9504, 61.9585)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CD1 #5ED13C
analogous
#653CD1 #AF3CD1 #D13CA8
triadic
#AF3CD1 #D1AF3C #3CD1AF
tetradic
#AF3CD1 #D1653C #5ED13C #3CA8D1
square
#AF3CD1 #D1653C #5ED13C #3CA8D1
split-complementary
#AF3CD1 #A8D13C #3CD165
monochromatic
#621C77 #8B28A8 #AF3CD1 #C36EDD #D89FE8

Accessibility & contrast

On white

4.78
#AF3CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AF3CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CD1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CD1#FFFFFF#000000##FFFFFF
##AF3CD11.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#4076CE
Tritanopia (blue-blind)
#AE5A83
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3cd1;
/* rgb */ color: rgb(175, 60, 209);
/* oklch */ color: oklch(58.3% 0.228 317.4);
Tailwind
colors: {
  custom: {
    50: '#cb7ce0',
    500: '#af3cd1',
    950: '#000000',
  },
}
SCSS
$custom: #af3cd1;
$custom-light: #cb7ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cd1",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 209
  },
  "hsl": {
    "h": 286.309,
    "s": 61.826,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58282,
    "c": 0.22836,
    "h": 317.4
  },
  "luminance": 0.16949
}

Semantic roles & 50–950 ramp

primary
#AF3CD1
secondary
#A3D594
accent
#E54368
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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