#AF3CB5#AF3CB5

#AF3CB5 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.6% C 0.204 H 325.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AF3CB5
RGBrgb(175, 60, 181)
HSLhsl(297, 50%, 47%)
HSVhsv(297, 67%, 71%)
CMYKcmyk(3.3%, 66.9%, 0%, 29%)
CIE-LABlab(46.56, 61.60, -41.43)
CIE-LCHlch(46.56, 74.23, 326.08°)
OKLaboklab(56.58% 0.169 -0.1149)
OKLCHoklch(56.58% 0.204 325.8)
XYZxyz(27.6350, 15.6836, 45.2788)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CB5 #42B53C
analogous
#733CB5 #AF3CB5 #B53C7E
triadic
#AF3CB5 #B5AF3C #3CB5AF
tetradic
#AF3CB5 #B5733C #42B53C #3C7EB5
square
#AF3CB5 #B5733C #42B53C #3C7EB5
split-complementary
#AF3CB5 #7EB53C #3CB573
monochromatic
#561E59 #832D87 #AF3CB5 #C663CB #D791DB

Accessibility & contrast

On white

5.08
#AF3CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AF3CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CB5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CB5#FFFFFF#000000##FFFFFF
##AF3CB51.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2565B9
Deuteranopia (green-blind)
#5573B2
Tritanopia (blue-blind)
#B34E74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3cb5;
/* rgb */ color: rgb(175, 60, 181);
/* oklch */ color: oklch(56.6% 0.204 325.8);
Tailwind
colors: {
  custom: {
    50: '#ca7bcc',
    500: '#af3cb5',
    950: '#000000',
  },
}
SCSS
$custom: #af3cb5;
$custom-light: #ca7bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cb5",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 297.025,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56579,
    "c": 0.20437,
    "h": 325.8
  },
  "luminance": 0.15682
}

Semantic roles & 50–950 ramp

primary
#AF3CB5
secondary
#8AC687
accent
#DA4E55
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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