#AF4FAA#AF4FAA

#AF4FAA is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.2% C 0.168 H 329.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AF4FAA
RGBrgb(175, 79, 170)
HSLhsl(303, 38%, 50%)
HSVhsv(303, 55%, 69%)
CMYKcmyk(0%, 54.9%, 2.9%, 31.4%)
CIE-LABlab(49.02, 51.37, -31.09)
CIE-LCHlch(49.02, 60.04, 328.81°)
OKLaboklab(58.19% 0.1447 -0.0852)
OKLCHoklch(58.19% 0.168 329.5)
XYZxyz(27.7306, 17.6100, 39.9609)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4FAA #4FAF54
analogous
#844FAF #AF4FAA #AF4F7A
triadic
#AF4FAA #AAAF4F #4FAAAF
tetradic
#AF4FAA #AF844F #4FAF54 #4F7AAF
square
#AF4FAA #AF844F #4FAF54 #4F7AAF
split-complementary
#AF4FAA #7AAF4F #4FAF84
monochromatic
#5B2958 #853C81 #AF4FAA #C279BF #D5A3D3

Accessibility & contrast

On white

4.64
#AF4FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#AF4FAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4FAA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4FAA#FFFFFF#000000##FFFFFF
##AF4FAA1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486CAD
Deuteranopia (green-blind)
#6679A7
Tritanopia (blue-blind)
#B55875
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af4faa;
/* rgb */ color: rgb(175, 79, 170);
/* oklch */ color: oklch(58.2% 0.168 329.5);
Tailwind
colors: {
  custom: {
    50: '#c985c3',
    500: '#af4faa',
    950: '#000000',
  },
}
SCSS
$custom: #af4faa;
$custom-light: #c985c3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4faa",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 170
  },
  "hsl": {
    "h": 303.125,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58192,
    "c": 0.16793,
    "h": 329.5
  },
  "luminance": 0.17608
}

Semantic roles & 50–950 ramp

primary
#AF4FAA
secondary
#97C399
accent
#CE605A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130B12
muted
#827C81

Preview Lab

Preview with #AF4FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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