#AF74CA#AF74CA

#AF74CA is a light, vivid purple. Relative luminance 0.259; OKLCH L 65.3% C 0.138 H 314.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AF74CA
RGBrgb(175, 116, 202)
HSLhsl(281, 45%, 62%)
HSVhsv(281, 43%, 79%)
CMYKcmyk(13.4%, 42.6%, 0%, 20.8%)
CIE-LABlab(57.91, 38.36, -35.65)
CIE-LCHlch(57.91, 52.37, 317.10°)
OKLaboklab(65.28% 0.0971 -0.0986)
OKLCHoklch(65.28% 0.138 314.6)
XYZxyz(34.5836, 25.8698, 59.0372)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF74CA #8FCA74
analogous
#8474CA #AF74CA #CA74BA
triadic
#AF74CA #CAAF74 #74CAAF
tetradic
#AF74CA #CA8474 #8FCA74 #74BACA
square
#AF74CA #CA8474 #8FCA74 #74BACA
split-complementary
#AF74CA #BACA74 #74CA84
monochromatic
#72368E #9648B9 #AF74CA #C9A0DB #E2CDEC

Accessibility & contrast

On white

3.40
#AF74CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#AF74CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF74CA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF74CA#FFFFFF#000000##000000
##AF74CA1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6488CD
Deuteranopia (green-blind)
#748DC8
Tritanopia (blue-blind)
#AD8095
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af74ca;
/* rgb */ color: rgb(175, 116, 202);
/* oklch */ color: oklch(65.3% 0.138 314.6);
Tailwind
colors: {
  custom: {
    50: '#c89dda',
    500: '#af74ca',
    950: '#000000',
  },
}
SCSS
$custom: #af74ca;
$custom-light: #c89dda;
$custom-dark: #000000;
JSON
{
  "hex": "#af74ca",
  "rgb": {
    "r": 175,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 281.163,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65279,
    "c": 0.13841,
    "h": 314.6
  },
  "luminance": 0.25869
}

Semantic roles & 50–950 ramp

primary
#AF74CA
secondary
#C7DDBD
accent
#B82E59
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF74CA

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

Preview Lab → · Contrast checker → · Palette generator →

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