#AF3CCD#AF3CCD

#AF3CCD is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.0% C 0.225 H 318.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AF3CCD
RGBrgb(175, 60, 205)
HSLhsl(288, 59%, 52%)
HSVhsv(288, 71%, 80%)
CMYKcmyk(14.6%, 70.7%, 0%, 19.6%)
CIE-LABlab(47.95, 65.97, -53.15)
CIE-LCHlch(47.95, 84.71, 321.14°)
OKLaboklab(58.03% 0.1683 -0.1491)
OKLCHoklch(58.03% 0.225 318.5)
XYZxyz(30.3130, 16.7548, 59.3831)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CCD #5ACD3C
analogous
#673CCD #AF3CCD #CD3CA3
triadic
#AF3CCD #CDAF3C #3CCDAF
tetradic
#AF3CCD #CD673C #5ACD3C #3CA3CD
square
#AF3CCD #CD673C #5ACD3C #3CA3CD
split-complementary
#AF3CCD #A3CD3C #3CCD67
monochromatic
#601D71 #892AA2 #AF3CCD #C36DD9 #D79DE6

Accessibility & contrast

On white

4.83
#AF3CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AF3CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CCD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CCD#FFFFFF#000000##FFFFFF
##AF3CCD1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#4475CA
Tritanopia (blue-blind)
#AE5881
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3ccd;
/* rgb */ color: rgb(175, 60, 205);
/* oklch */ color: oklch(58.0% 0.225 318.5);
Tailwind
colors: {
  custom: {
    50: '#cb7cdd',
    500: '#af3ccd',
    950: '#000000',
  },
}
SCSS
$custom: #af3ccd;
$custom-light: #cb7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ccd",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 287.586,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58026,
    "c": 0.22487,
    "h": 318.5
  },
  "luminance": 0.16753
}

Semantic roles & 50–950 ramp

primary
#AF3CCD
secondary
#A0D293
accent
#E24566
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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