#AF3ACB#AF3ACB

#AF3ACB is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.7% C 0.225 H 319.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AF3ACB
RGBrgb(175, 58, 203)
HSLhsl(288, 58%, 51%)
HSVhsv(288, 71%, 80%)
CMYKcmyk(13.8%, 71.4%, 0%, 20.4%)
CIE-LABlab(47.56, 66.34, -52.61)
CIE-LCHlch(47.56, 84.67, 321.58°)
OKLaboklab(57.71% 0.1704 -0.1476)
OKLCHoklch(57.71% 0.225 319.1)
XYZxyz(29.9703, 16.4533, 58.0855)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3ACB #56CB3A
analogous
#663ACB #AF3ACB #CB3A9E
triadic
#AF3ACB #CBAF3A #3ACBAF
tetradic
#AF3ACB #CB663A #56CB3A #3A9ECB
square
#AF3ACB #CB663A #56CB3A #3A9ECB
split-complementary
#AF3ACB #9ECB3A #3ACB66
monochromatic
#5E1D6E #882A9E #AF3ACB #C36AD8 #D69BE5

Accessibility & contrast

On white

4.89
#AF3ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AF3ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3ACB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3ACB#FFFFFF#000000##FFFFFF
##AF3ACB1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#AF567F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3acb;
/* rgb */ color: rgb(175, 58, 203);
/* oklch */ color: oklch(57.7% 0.225 319.1);
Tailwind
colors: {
  custom: {
    50: '#cb7bdb',
    500: '#af3acb',
    950: '#000000',
  },
}
SCSS
$custom: #af3acb;
$custom-light: #cb7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#af3acb",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 203
  },
  "hsl": {
    "h": 288.414,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57711,
    "c": 0.22542,
    "h": 319.1
  },
  "luminance": 0.16452
}

Semantic roles & 50–950 ramp

primary
#AF3ACB
secondary
#9DD090
accent
#E14664
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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