#AF74AA#AF74AA

#AF74AA is a light, moderate purple. Relative luminance 0.245; OKLCH L 63.8% C 0.104 H 329.7°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AF74AA
RGBrgb(175, 116, 170)
HSLhsl(305, 27%, 57%)
HSVhsv(305, 34%, 69%)
CMYKcmyk(0%, 33.7%, 2.9%, 31.4%)
CIE-LABlab(56.59, 31.94, -19.39)
CIE-LCHlch(56.59, 37.36, 328.73°)
OKLaboklab(63.85% 0.0896 -0.0524)
OKLCHoklch(63.85% 0.104 329.7)
XYZxyz(31.1798, 24.5083, 41.1106)
Luminance0.2451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF74AA #74AF79
analogous
#9774AF #AF74AA #AF748D
triadic
#AF74AA #AAAF74 #74AAAF
tetradic
#AF74AA #AF9774 #74AF79 #748DAF
square
#AF74AA #AF9774 #74AF79 #748DAF
split-complementary
#AF74AA #8DAF74 #74AF97
monochromatic
#6B3E67 #92548D #AF74AA #C59BC2 #DCC2DA

Accessibility & contrast

On white

3.56
#AF74AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#AF74AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF74AA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF74AA#FFFFFF#000000##000000
##AF74AA1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7283AC
Deuteranopia (green-blind)
#808BA8
Tritanopia (blue-blind)
#B37888
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af74aa;
/* rgb */ color: rgb(175, 116, 170);
/* oklch */ color: oklch(63.8% 0.104 329.7);
Tailwind
colors: {
  custom: {
    50: '#c89dc3',
    500: '#af74aa',
    950: '#000000',
  },
}
SCSS
$custom: #af74aa;
$custom-light: #c89dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#af74aa",
  "rgb": {
    "r": 175,
    "g": 116,
    "b": 170
  },
  "hsl": {
    "h": 305.085,
    "s": 26.941,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6385,
    "c": 0.10383,
    "h": 329.7
  },
  "luminance": 0.24507
}

Semantic roles & 50–950 ramp

primary
#AF74AA
secondary
#B3CBB5
accent
#C36D65
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130E12
muted
#827E81

Preview Lab

Preview with #AF74AA

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

Preview Lab → · Contrast checker → · Palette generator →

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