#AF3ACF#AF3ACF

#AF3ACF is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.0% C 0.229 H 318.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AF3ACF
RGBrgb(175, 58, 207)
HSLhsl(287, 61%, 52%)
HSVhsv(287, 72%, 81%)
CMYKcmyk(15.5%, 72%, 0%, 18.8%)
CIE-LABlab(47.81, 67.09, -54.52)
CIE-LCHlch(47.81, 86.45, 320.90°)
OKLaboklab(57.97% 0.1701 -0.1531)
OKLCHoklch(57.97% 0.229 318)
XYZxyz(30.4532, 16.6464, 60.6284)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3ACF #5ACF3A
analogous
#653ACF #AF3ACF #CF3AA5
triadic
#AF3ACF #CFAF3A #3ACFAF
tetradic
#AF3ACF #CF653A #5ACF3A #3AA5CF
square
#AF3ACF #CF653A #5ACF3A #3AA5CF
split-complementary
#AF3ACF #A5CF3A #3ACF65
monochromatic
#601C73 #8928A4 #AF3ACF #C36BDB #D79CE7

Accessibility & contrast

On white

4.85
#AF3ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AF3ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3ACF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3ACF#FFFFFF#000000##FFFFFF
##AF3ACF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#4075CC
Tritanopia (blue-blind)
#AE5881
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3acf;
/* rgb */ color: rgb(175, 58, 207);
/* oklch */ color: oklch(58.0% 0.229 318.0);
Tailwind
colors: {
  custom: {
    50: '#cb7bde',
    500: '#af3acf',
    950: '#000000',
  },
}
SCSS
$custom: #af3acf;
$custom-light: #cb7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#af3acf",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 207
  },
  "hsl": {
    "h": 287.114,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57967,
    "c": 0.22886,
    "h": 318
  },
  "luminance": 0.16645
}

Semantic roles & 50–950 ramp

primary
#AF3ACF
secondary
#A0D392
accent
#E44466
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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