#AF3BA4#AF3BA4

#AF3BA4 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.5% C 0.192 H 331.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AF3BA4
RGBrgb(175, 59, 164)
HSLhsl(306, 50%, 46%)
HSVhsv(306, 66%, 69%)
CMYKcmyk(0%, 66.3%, 6.3%, 31.4%)
CIE-LABlab(45.53, 59.13, -33.01)
CIE-LCHlch(45.53, 67.72, 330.82°)
OKLaboklab(55.55% 0.1692 -0.0906)
OKLCHoklch(55.55% 0.192 331.8)
XYZxyz(25.9440, 14.9242, 36.6290)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BA4 #3BAF46
analogous
#803BAF #AF3BA4 #AF3B6A
triadic
#AF3BA4 #A4AF3B #3BA4AF
tetradic
#AF3BA4 #AF803B #3BAF46 #3B6AAF
square
#AF3BA4 #AF803B #3BAF46 #3B6AAF
split-complementary
#AF3BA4 #6AAF3B #3BAF80
monochromatic
#531C4E #812C79 #AF3BA4 #C95EBF #D88CD1

Accessibility & contrast

On white

5.27
#AF3BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AF3BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BA4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BA4#FFFFFF#000000##FFFFFF
##AF3BA41.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3561A7
Deuteranopia (green-blind)
#5D72A1
Tritanopia (blue-blind)
#B6466A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af3ba4;
/* rgb */ color: rgb(175, 59, 164);
/* oklch */ color: oklch(55.5% 0.192 331.8);
Tailwind
colors: {
  custom: {
    50: '#ca7abf',
    500: '#af3ba4',
    950: '#000000',
  },
}
SCSS
$custom: #af3ba4;
$custom-light: #ca7abf;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ba4",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 164
  },
  "hsl": {
    "h": 305.69,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5555,
    "c": 0.19191,
    "h": 331.8
  },
  "luminance": 0.14922
}

Semantic roles & 50–950 ramp

primary
#AF3BA4
secondary
#83C389
accent
#D95C4F
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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