#AF3CCA#AF3CCA

#AF3CCA is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.8% C 0.222 H 319.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AF3CCA
RGBrgb(175, 60, 202)
HSLhsl(289, 57%, 51%)
HSVhsv(289, 70%, 79%)
CMYKcmyk(13.4%, 70.3%, 0%, 20.8%)
CIE-LABlab(47.77, 65.40, -51.71)
CIE-LCHlch(47.77, 83.38, 321.67°)
OKLaboklab(57.84% 0.1685 -0.1449)
OKLCHoklch(57.84% 0.222 319.3)
XYZxyz(29.9543, 16.6114, 57.4942)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CCA #57CA3C
analogous
#683CCA #AF3CCA #CA3C9E
triadic
#AF3CCA #CAAF3C #3CCAAF
tetradic
#AF3CCA #CA683C #57CA3C #3C9ECA
square
#AF3CCA #CA683C #57CA3C #3C9ECA
split-complementary
#AF3CCA #9ECA3C #3CCA68
monochromatic
#5F1E6E #882B9E #AF3CCA #C36CD7 #D69CE4

Accessibility & contrast

On white

4.86
#AF3CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AF3CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CCA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CCA#FFFFFF#000000##FFFFFF
##AF3CCA1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#4675C7
Tritanopia (blue-blind)
#AF577F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3cca;
/* rgb */ color: rgb(175, 60, 202);
/* oklch */ color: oklch(57.8% 0.222 319.3);
Tailwind
colors: {
  custom: {
    50: '#cb7cdb',
    500: '#af3cca',
    950: '#000000',
  },
}
SCSS
$custom: #af3cca;
$custom-light: #cb7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cca",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 202
  },
  "hsl": {
    "h": 288.592,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57837,
    "c": 0.22226,
    "h": 319.3
  },
  "luminance": 0.1661
}

Semantic roles & 50–950 ramp

primary
#AF3CCA
secondary
#9ED092
accent
#E14764
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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