#AF3BB3#AF3BB3

#AF3BB3 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.4% C 0.204 H 326.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AF3BB3
RGBrgb(175, 59, 179)
HSLhsl(298, 50%, 47%)
HSVhsv(298, 67%, 70%)
CMYKcmyk(2.2%, 67%, 0%, 29.8%)
CIE-LABlab(46.31, 61.64, -40.64)
CIE-LCHlch(46.31, 73.83, 326.60°)
OKLaboklab(56.37% 0.17 -0.1126)
OKLCHoklch(56.37% 0.204 326.5)
XYZxyz(27.3793, 15.4984, 44.1885)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BB3 #3FB33B
analogous
#733BB3 #AF3BB3 #B33B7B
triadic
#AF3BB3 #B3AF3B #3BB3AF
tetradic
#AF3BB3 #B3733B #3FB33B #3B7BB3
square
#AF3BB3 #B3733B #3FB33B #3B7BB3
split-complementary
#AF3BB3 #7BB33B #3BB373
monochromatic
#551D57 #822C85 #AF3BB3 #C760CB #D78EDA

Accessibility & contrast

On white

5.12
#AF3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AF3BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BB3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BB3#FFFFFF#000000##FFFFFF
##AF3BB31.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B6
Deuteranopia (green-blind)
#5673B0
Tritanopia (blue-blind)
#B44D72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3bb3;
/* rgb */ color: rgb(175, 59, 179);
/* oklch */ color: oklch(56.4% 0.204 326.5);
Tailwind
colors: {
  custom: {
    50: '#ca7aca',
    500: '#af3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #af3bb3;
$custom-light: #ca7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bb3",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 298,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56366,
    "c": 0.20397,
    "h": 326.5
  },
  "luminance": 0.15497
}

Semantic roles & 50–950 ramp

primary
#AF3BB3
secondary
#87C585
accent
#DA4E53
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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