#AF79CA#AF79CA

#AF79CA is a light, vivid purple. Relative luminance 0.271; OKLCH L 66.1% C 0.130 H 313.8°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AF79CA
RGBrgb(175, 121, 202)
HSLhsl(280, 43%, 63%)
HSVhsv(280, 40%, 79%)
CMYKcmyk(13.4%, 40.1%, 0%, 20.8%)
CIE-LABlab(59.02, 35.60, -33.92)
CIE-LCHlch(59.02, 49.17, 316.39°)
OKLaboklab(66.11% 0.0898 -0.0937)
OKLCHoklch(66.11% 0.13 313.8)
XYZxyz(35.1755, 27.0537, 59.2345)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF79CA #94CA79
analogous
#8679CA #AF79CA #CA79BC
triadic
#AF79CA #CAAF79 #79CAAF
tetradic
#AF79CA #CA8679 #94CA79 #79BCCA
square
#AF79CA #CA8679 #94CA79 #79BCCA
split-complementary
#AF79CA #BCCA79 #79CA86
monochromatic
#733990 #954DB9 #AF79CA #C9A5DB #E3D1ED

Accessibility & contrast

On white

3.28
#AF79CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#AF79CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF79CA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF79CA#FFFFFF#000000##000000
##AF79CA1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCD
Deuteranopia (green-blind)
#788FC8
Tritanopia (blue-blind)
#AD8498
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af79ca;
/* rgb */ color: rgb(175, 121, 202);
/* oklch */ color: oklch(66.1% 0.130 313.8);
Tailwind
colors: {
  custom: {
    50: '#c8a0da',
    500: '#af79ca',
    950: '#000000',
  },
}
SCSS
$custom: #af79ca;
$custom-light: #c8a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#af79ca",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 280,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66114,
    "c": 0.12978,
    "h": 313.8
  },
  "luminance": 0.27053
}

Semantic roles & 50–950 ramp

primary
#AF79CA
secondary
#CBDEC1
accent
#B62F5C
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130F15
muted
#827E83

Preview Lab

Preview with #AF79CA

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

Preview Lab → · Contrast checker → · Palette generator →

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