#AF74BB#AF74BB

#AF74BB is a light, vivid purple. Relative luminance 0.252; OKLCH L 64.6% C 0.122 H 320.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AF74BB
RGBrgb(175, 116, 187)
HSLhsl(290, 34%, 59%)
HSVhsv(290, 38%, 73%)
CMYKcmyk(6.4%, 38%, 0%, 26.7%)
CIE-LABlab(57.26, 35.25, -28.12)
CIE-LCHlch(57.26, 45.09, 321.42°)
OKLaboklab(64.58% 0.094 -0.077)
OKLCHoklch(64.58% 0.122 320.7)
XYZxyz(32.8931, 25.1936, 50.1342)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF74BB #80BB74
analogous
#8C74BB #AF74BB #BB74A4
triadic
#AF74BB #BBAF74 #74BBAF
tetradic
#AF74BB #BB8C74 #80BB74 #74A4BB
square
#AF74BB #BB8C74 #80BB74 #74A4BB
split-complementary
#AF74BB #A4BB74 #74BB8C
monochromatic
#6F3B79 #944FA2 #AF74BB #C79DCF #DEC6E3

Accessibility & contrast

On white

3.48
#AF74BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#AF74BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF74BB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF74BB#FFFFFF#000000##000000
##AF74BB1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B85BE
Deuteranopia (green-blind)
#7A8CB9
Tritanopia (blue-blind)
#B07C8F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af74bb;
/* rgb */ color: rgb(175, 116, 187);
/* oklch */ color: oklch(64.6% 0.122 320.7);
Tailwind
colors: {
  custom: {
    50: '#c89dcf',
    500: '#af74bb',
    950: '#000000',
  },
}
SCSS
$custom: #af74bb;
$custom-light: #c89dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#af74bb",
  "rgb": {
    "r": 175,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 289.859,
    "s": 34.3,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64577,
    "c": 0.12155,
    "h": 320.7
  },
  "luminance": 0.25193
}

Semantic roles & 50–950 ramp

primary
#AF74BB
secondary
#BCD3B8
accent
#CA5D70
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF74BB

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

Preview Lab → · Contrast checker → · Palette generator →

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