#AF3BB5#AF3BB5

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

Color values

HEX#AF3BB5
RGBrgb(175, 59, 181)
HSLhsl(297, 51%, 47%)
HSVhsv(297, 67%, 71%)
CMYKcmyk(3.3%, 67.4%, 0%, 29%)
CIE-LABlab(46.42, 61.99, -41.65)
CIE-LCHlch(46.42, 74.68, 326.11°)
OKLaboklab(56.48% 0.1701 -0.1156)
OKLCHoklch(56.48% 0.206 325.8)
XYZxyz(27.5831, 15.5798, 45.2615)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BB5 #41B53B
analogous
#723BB5 #AF3BB5 #B53B7E
triadic
#AF3BB5 #B5AF3B #3BB5AF
tetradic
#AF3BB5 #B5723B #41B53B #3B7EB5
square
#AF3BB5 #B5723B #41B53B #3B7EB5
split-complementary
#AF3BB5 #7EB53B #3BB572
monochromatic
#561D59 #822C87 #AF3BB5 #C662CC #D790DB

Accessibility & contrast

On white

5.10
#AF3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AF3BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BB5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BB5#FFFFFF#000000##FFFFFF
##AF3BB51.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3bb5;
/* rgb */ color: rgb(175, 59, 181);
/* oklch */ color: oklch(56.5% 0.206 325.8);
Tailwind
colors: {
  custom: {
    50: '#ca7bcc',
    500: '#af3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #af3bb5;
$custom-light: #ca7bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bb5",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 297.049,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5648,
    "c": 0.20562,
    "h": 325.8
  },
  "luminance": 0.15578
}

Semantic roles & 50–950 ramp

primary
#AF3BB5
secondary
#89C686
accent
#DA4D54
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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