#AF3BAD#AF3BAD

#AF3BAD is a mid, vivid purple. Relative luminance 0.153; OKLCH L 56.0% C 0.199 H 328.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AF3BAD
RGBrgb(175, 59, 173)
HSLhsl(301, 50%, 46%)
HSVhsv(301, 66%, 69%)
CMYKcmyk(0%, 66.3%, 1.1%, 31.4%)
CIE-LABlab(45.99, 60.62, -37.62)
CIE-LCHlch(45.99, 71.34, 328.18°)
OKLaboklab(56.03% 0.1698 -0.1039)
OKLCHoklch(56.03% 0.199 328.5)
XYZxyz(26.7857, 15.2609, 41.0619)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BAD #3BAF3D
analogous
#773BAF #AF3BAD #AF3B73
triadic
#AF3BAD #ADAF3B #3BADAF
tetradic
#AF3BAD #AF773B #3BAF3D #3B73AF
square
#AF3BAD #AF773B #3BAF3D #3B73AF
split-complementary
#AF3BAD #73AF3B #3BAF77
monochromatic
#531C53 #812C80 #AF3BAD #C95EC7 #D88CD7

Accessibility & contrast

On white

5.18
#AF3BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AF3BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BAD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BAD#FFFFFF#000000##FFFFFF
##AF3BAD1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C63B0
Deuteranopia (green-blind)
#5972AA
Tritanopia (blue-blind)
#B54A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af3bad;
/* rgb */ color: rgb(175, 59, 173);
/* oklch */ color: oklch(56.0% 0.199 328.5);
Tailwind
colors: {
  custom: {
    50: '#ca7ac6',
    500: '#af3bad',
    950: '#000000',
  },
}
SCSS
$custom: #af3bad;
$custom-light: #ca7ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bad",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 301.034,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56032,
    "c": 0.19907,
    "h": 328.5
  },
  "luminance": 0.15259
}

Semantic roles & 50–950 ramp

primary
#AF3BAD
secondary
#83C384
accent
#D9514F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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