#AF3CDC#AF3CDC

#AF3CDC is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.0% C 0.238 H 314.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AF3CDC
RGBrgb(175, 60, 220)
HSLhsl(283, 70%, 55%)
HSVhsv(283, 73%, 86%)
CMYKcmyk(20.5%, 72.7%, 0%, 13.7%)
CIE-LABlab(48.90, 68.85, -60.20)
CIE-LCHlch(48.90, 91.46, 318.83°)
OKLaboklab(59.01% 0.1668 -0.1698)
OKLCHoklch(59.01% 0.238 314.5)
XYZxyz(32.2112, 17.5141, 69.3801)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CDC #69DC3C
analogous
#5F3CDC #AF3CDC #DC3CB9
triadic
#AF3CDC #DCAF3C #3CDCAF
tetradic
#AF3CDC #DC5F3C #69DC3C #3CB9DC
square
#AF3CDC #DC5F3C #69DC3C #3CB9DC
split-complementary
#AF3CDC #B9DC3C #3CDC5F
monochromatic
#671886 #8F21BA #AF3CDC #C470E5 #DAA4EF

Accessibility & contrast

On white

4.66
#AF3CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#AF3CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CDC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CDC#FFFFFF#000000##FFFFFF
##AF3CDC1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#3377D9
Tritanopia (blue-blind)
#AB5F89
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af3cdc;
/* rgb */ color: rgb(175, 60, 220);
/* oklch */ color: oklch(59.0% 0.238 314.5);
Tailwind
colors: {
  custom: {
    50: '#cb7ce8',
    500: '#af3cdc',
    950: '#000000',
  },
}
SCSS
$custom: #af3cdc;
$custom-light: #cb7ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cdc",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 220
  },
  "hsl": {
    "h": 283.125,
    "s": 69.565,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59006,
    "c": 0.23803,
    "h": 314.5
  },
  "luminance": 0.17513
}

Semantic roles & 50–950 ramp

primary
#AF3CDC
secondary
#ABDC98
accent
#EC3B6D
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AF3CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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