#AF3CD2#AF3CD2

#AF3CD2 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.229 H 317.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AF3CD2
RGBrgb(175, 60, 210)
HSLhsl(286, 63%, 53%)
HSVhsv(286, 71%, 82%)
CMYKcmyk(16.7%, 71.4%, 0%, 17.6%)
CIE-LABlab(48.26, 66.92, -55.52)
CIE-LCHlch(48.26, 86.95, 320.32°)
OKLaboklab(58.35% 0.1679 -0.1561)
OKLCHoklch(58.35% 0.229 317.1)
XYZxyz(30.9262, 17.0001, 62.6126)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CD2 #5FD23C
analogous
#643CD2 #AF3CD2 #D23CAA
triadic
#AF3CD2 #D2AF3C #3CD2AF
tetradic
#AF3CD2 #D2643C #5FD23C #3CAAD2
square
#AF3CD2 #D2643C #5FD23C #3CAAD2
split-complementary
#AF3CD2 #AAD23C #3CD264
monochromatic
#621C78 #8B27AA #AF3CD2 #C36EDD #D89FE9

Accessibility & contrast

On white

4.77
#AF3CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AF3CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CD2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CD2#FFFFFF#000000##FFFFFF
##AF3CD21.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#3F76CF
Tritanopia (blue-blind)
#AD5B84
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af3cd2;
/* rgb */ color: rgb(175, 60, 210);
/* oklch */ color: oklch(58.3% 0.229 317.1);
Tailwind
colors: {
  custom: {
    50: '#cb7ce0',
    500: '#af3cd2',
    950: '#000000',
  },
}
SCSS
$custom: #af3cd2;
$custom-light: #cb7ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cd2",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 286,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58346,
    "c": 0.22923,
    "h": 317.1
  },
  "luminance": 0.16999
}

Semantic roles & 50–950 ramp

primary
#AF3CD2
secondary
#A4D594
accent
#E64268
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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