#AF3BAE#AF3BAE

#AF3BAE is a mid, vivid purple. Relative luminance 0.153; OKLCH L 56.1% C 0.200 H 328.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AF3BAE
RGBrgb(175, 59, 174)
HSLhsl(301, 50%, 46%)
HSVhsv(301, 66%, 69%)
CMYKcmyk(0%, 66.3%, 0.6%, 31.4%)
CIE-LABlab(46.04, 60.79, -38.12)
CIE-LCHlch(46.04, 71.75, 327.90°)
OKLaboklab(56.09% 0.1699 -0.1053)
OKLCHoklch(56.09% 0.2 328.2)
XYZxyz(26.8828, 15.2997, 41.5734)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BAE #3BAF3C
analogous
#763BAF #AF3BAE #AF3B74
triadic
#AF3BAE #AEAF3B #3BAEAF
tetradic
#AF3BAE #AF763B #3BAF3C #3B74AF
square
#AF3BAE #AF763B #3BAF3C #3B74AF
split-complementary
#AF3BAE #74AF3B #3BAF76
monochromatic
#531C53 #812C80 #AF3BAE #C95EC8 #D88CD8

Accessibility & contrast

On white

5.17
#AF3BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AF3BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BAE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BAE#FFFFFF#000000##FFFFFF
##AF3BAE1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B63B1
Deuteranopia (green-blind)
#5872AB
Tritanopia (blue-blind)
#B44B70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af3bae;
/* rgb */ color: rgb(175, 59, 174);
/* oklch */ color: oklch(56.1% 0.200 328.2);
Tailwind
colors: {
  custom: {
    50: '#ca7ac6',
    500: '#af3bae',
    950: '#000000',
  },
}
SCSS
$custom: #af3bae;
$custom-light: #ca7ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bae",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 300.517,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56087,
    "c": 0.19989,
    "h": 328.2
  },
  "luminance": 0.15298
}

Semantic roles & 50–950 ramp

primary
#AF3BAE
secondary
#83C383
accent
#D9504F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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