#AF3CB4#AF3CB4

#AF3CB4 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.5% C 0.204 H 326.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AF3CB4
RGBrgb(175, 60, 180)
HSLhsl(298, 50%, 47%)
HSVhsv(298, 67%, 71%)
CMYKcmyk(2.8%, 66.7%, 0%, 29.4%)
CIE-LABlab(46.50, 61.43, -40.93)
CIE-LCHlch(46.50, 73.81, 326.33°)
OKLaboklab(56.52% 0.169 -0.1135)
OKLCHoklch(56.52% 0.204 326.1)
XYZxyz(27.5327, 15.6427, 44.7403)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CB4 #41B43C
analogous
#733CB4 #AF3CB4 #B43C7D
triadic
#AF3CB4 #B4AF3C #3CB4AF
tetradic
#AF3CB4 #B4733C #41B43C #3C7DB4
square
#AF3CB4 #B4733C #41B43C #3C7DB4
split-complementary
#AF3CB4 #7DB43C #3CB473
monochromatic
#561D58 #822D86 #AF3CB4 #C662CB #D790DA

Accessibility & contrast

On white

5.09
#AF3CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AF3CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CB4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CB4#FFFFFF#000000##FFFFFF
##AF3CB41.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2665B7
Deuteranopia (green-blind)
#5673B1
Tritanopia (blue-blind)
#B34E73
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3cb4;
/* rgb */ color: rgb(175, 60, 180);
/* oklch */ color: oklch(56.5% 0.204 326.1);
Tailwind
colors: {
  custom: {
    50: '#ca7bcb',
    500: '#af3cb4',
    950: '#000000',
  },
}
SCSS
$custom: #af3cb4;
$custom-light: #ca7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cb4",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 297.5,
    "s": 50,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56523,
    "c": 0.20354,
    "h": 326.1
  },
  "luminance": 0.15641
}

Semantic roles & 50–950 ramp

primary
#AF3CB4
secondary
#89C587
accent
#DA4E54
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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