#AF79CF#AF79CF

#AF79CF is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.4% C 0.136 H 312.0°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AF79CF
RGBrgb(175, 121, 207)
HSLhsl(278, 47%, 64%)
HSVhsv(278, 42%, 81%)
CMYKcmyk(15.5%, 41.5%, 0%, 18.8%)
CIE-LABlab(59.25, 36.68, -36.39)
CIE-LCHlch(59.25, 51.67, 315.22°)
OKLaboklab(66.35% 0.0908 -0.1008)
OKLCHoklch(66.35% 0.136 312)
XYZxyz(35.7771, 27.2943, 62.4030)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF79CF #99CF79
analogous
#8479CF #AF79CF #CF79C4
triadic
#AF79CF #CFAF79 #79CFAF
tetradic
#AF79CF #CF8479 #99CF79 #79C4CF
square
#AF79CF #CF8479 #99CF79 #79C4CF
split-complementary
#AF79CF #C4CF79 #79CF84
monochromatic
#733697 #944CBF #AF79CF #CAA6DF #E5D3EF

Accessibility & contrast

On white

3.25
#AF79CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#AF79CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF79CF
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF79CF#FFFFFF#000000##000000
##AF79CF1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#688CD2
Deuteranopia (green-blind)
#7690CD
Tritanopia (blue-blind)
#AC859A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af79cf;
/* rgb */ color: rgb(175, 121, 207);
/* oklch */ color: oklch(66.4% 0.136 312.0);
Tailwind
colors: {
  custom: {
    50: '#c8a1de',
    500: '#af79cf',
    950: '#000000',
  },
}
SCSS
$custom: #af79cf;
$custom-light: #c8a1de;
$custom-dark: #000000;
JSON
{
  "hex": "#af79cf",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 207
  },
  "hsl": {
    "h": 277.674,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66354,
    "c": 0.13567,
    "h": 312
  },
  "luminance": 0.27294
}

Semantic roles & 50–950 ramp

primary
#AF79CF
secondary
#CEE1C3
accent
#BB2B60
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #AF79CF

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

Preview Lab → · Contrast checker → · Palette generator →

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