#AF4CC2#AF4CC2

#AF4CC2 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.1% C 0.194 H 320.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AF4CC2
RGBrgb(175, 76, 194)
HSLhsl(290, 49%, 53%)
HSVhsv(290, 61%, 76%)
CMYKcmyk(9.8%, 60.8%, 0%, 23.9%)
CIE-LABlab(49.71, 57.19, -43.99)
CIE-LCHlch(49.71, 72.15, 322.43°)
OKLaboklab(59.09% 0.1507 -0.1225)
OKLCHoklch(59.09% 0.194 320.9)
XYZxyz(30.0001, 18.1793, 52.9572)
Luminance0.1818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4CC2 #5FC24C
analogous
#744CC2 #AF4CC2 #C24C9A
triadic
#AF4CC2 #C2AF4C #4CC2AF
tetradic
#AF4CC2 #C2744C #5FC24C #4C9AC2
square
#AF4CC2 #C2744C #5FC24C #4C9AC2
split-complementary
#AF4CC2 #9AC24C #4CC274
monochromatic
#62266E #8B359C #AF4CC2 #C37AD2 #D8A7E1

Accessibility & contrast

On white

4.53
#AF4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AF4CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4CC2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4CC2#FFFFFF#000000##000000
##AF4CC21.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#316FC6
Deuteranopia (green-blind)
#587ABF
Tritanopia (blue-blind)
#B05F80
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af4cc2;
/* rgb */ color: rgb(175, 76, 194);
/* oklch */ color: oklch(59.1% 0.194 320.9);
Tailwind
colors: {
  custom: {
    50: '#ca84d5',
    500: '#af4cc2',
    950: '#000000',
  },
}
SCSS
$custom: #af4cc2;
$custom-light: #ca84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4cc2",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 290.339,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59091,
    "c": 0.19423,
    "h": 320.9
  },
  "luminance": 0.18178
}

Semantic roles & 50–950 ramp

primary
#AF4CC2
secondary
#A4CE9B
accent
#D94F65
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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