#AF4BA3#AF4BA3

#AF4BA3 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.3% C 0.168 H 332.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AF4BA3
RGBrgb(175, 75, 163)
HSLhsl(307, 40%, 49%)
HSVhsv(307, 57%, 69%)
CMYKcmyk(0%, 57.1%, 6.9%, 31.4%)
CIE-LABlab(48.00, 52.05, -28.56)
CIE-LCHlch(48.00, 59.37, 331.25°)
OKLaboklab(57.34% 0.149 -0.078)
OKLCHoklch(57.34% 0.168 332.4)
XYZxyz(26.8061, 16.7923, 36.4726)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BA3 #4BAF57
analogous
#894BAF #AF4BA3 #AF4B71
triadic
#AF4BA3 #A3AF4B #4BA3AF
tetradic
#AF4BA3 #AF894B #4BAF57 #4B71AF
square
#AF4BA3 #AF894B #4BAF57 #4B71AF
split-complementary
#AF4BA3 #71AF4B #4BAF89
monochromatic
#592653 #84397B #AF4BA3 #C374BA #D69FCF

Accessibility & contrast

On white

4.82
#AF4BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AF4BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4BA3
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BA3#FFFFFF#000000##FFFFFF
##AF4BA31.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4869A6
Deuteranopia (green-blind)
#6777A0
Tritanopia (blue-blind)
#B65370
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af4ba3;
/* rgb */ color: rgb(175, 75, 163);
/* oklch */ color: oklch(57.3% 0.168 332.4);
Tailwind
colors: {
  custom: {
    50: '#c983be',
    500: '#af4ba3',
    950: '#000000',
  },
}
SCSS
$custom: #af4ba3;
$custom-light: #c983be;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ba3",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 163
  },
  "hsl": {
    "h": 307.2,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57335,
    "c": 0.16821,
    "h": 332.4
  },
  "luminance": 0.1679
}

Semantic roles & 50–950 ramp

primary
#AF4BA3
secondary
#93C299
accent
#D06658
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AF4BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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