#AF3BB4#AF3BB4

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

Color values

HEX#AF3BB4
RGBrgb(175, 59, 180)
HSLhsl(298, 51%, 47%)
HSVhsv(298, 67%, 71%)
CMYKcmyk(2.8%, 67.2%, 0%, 29.4%)
CIE-LABlab(46.36, 61.81, -41.15)
CIE-LCHlch(46.36, 74.26, 326.35°)
OKLaboklab(56.42% 0.1701 -0.1141)
OKLCHoklch(56.42% 0.205 326.1)
XYZxyz(27.4808, 15.5390, 44.7230)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BB4 #40B43B
analogous
#733BB4 #AF3BB4 #B43B7D
triadic
#AF3BB4 #B4AF3B #3BB4AF
tetradic
#AF3BB4 #B4733B #40B43B #3B7DB4
square
#AF3BB4 #B4733B #40B43B #3B7DB4
split-complementary
#AF3BB4 #7DB43B #3BB473
monochromatic
#551D58 #822C86 #AF3BB4 #C761CB #D78FDA

Accessibility & contrast

On white

5.11
#AF3BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#AF3BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BB4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BB4#FFFFFF#000000##FFFFFF
##AF3BB41.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2464B7
Deuteranopia (green-blind)
#5573B1
Tritanopia (blue-blind)
#B34D73
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3bb4;
/* rgb */ color: rgb(175, 59, 180);
/* oklch */ color: oklch(56.4% 0.205 326.1);
Tailwind
colors: {
  custom: {
    50: '#ca7bcb',
    500: '#af3bb4',
    950: '#000000',
  },
}
SCSS
$custom: #af3bb4;
$custom-light: #ca7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bb4",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 180
  },
  "hsl": {
    "h": 297.521,
    "s": 50.628,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56423,
    "c": 0.2048,
    "h": 326.1
  },
  "luminance": 0.15537
}

Semantic roles & 50–950 ramp

primary
#AF3BB4
secondary
#88C586
accent
#DA4E53
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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