#AF3CCC#AF3CCC

#AF3CCC is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.0% C 0.224 H 318.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AF3CCC
RGBrgb(175, 60, 204)
HSLhsl(288, 59%, 52%)
HSVhsv(288, 71%, 80%)
CMYKcmyk(14.2%, 70.6%, 0%, 20%)
CIE-LABlab(47.89, 65.78, -52.67)
CIE-LCHlch(47.89, 84.27, 321.32°)
OKLaboklab(57.96% 0.1684 -0.1477)
OKLCHoklch(57.96% 0.224 318.7)
XYZxyz(30.1927, 16.7067, 58.7494)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CCC #59CC3C
analogous
#673CCC #AF3CCC #CC3CA1
triadic
#AF3CCC #CCAF3C #3CCCAF
tetradic
#AF3CCC #CC673C #59CC3C #3CA1CC
square
#AF3CCC #CC673C #59CC3C #3CA1CC
split-complementary
#AF3CCC #A1CC3C #3CCC67
monochromatic
#601D70 #892AA1 #AF3CCC #C36DD9 #D79DE5

Accessibility & contrast

On white

4.84
#AF3CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AF3CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CCC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CCC#FFFFFF#000000##FFFFFF
##AF3CCC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#4575C9
Tritanopia (blue-blind)
#AF5880
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3ccc;
/* rgb */ color: rgb(175, 60, 204);
/* oklch */ color: oklch(58.0% 0.224 318.7);
Tailwind
colors: {
  custom: {
    50: '#cb7cdc',
    500: '#af3ccc',
    950: '#000000',
  },
}
SCSS
$custom: #af3ccc;
$custom-light: #cb7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ccc",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 287.917,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57963,
    "c": 0.224,
    "h": 318.7
  },
  "luminance": 0.16705
}

Semantic roles & 50–950 ramp

primary
#AF3CCC
secondary
#9FD192
accent
#E24665
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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