#AF79CC#AF79CC

#AF79CC is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.2% C 0.132 H 313.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AF79CC
RGBrgb(175, 121, 204)
HSLhsl(279, 45%, 64%)
HSVhsv(279, 41%, 80%)
CMYKcmyk(14.2%, 40.7%, 0%, 20%)
CIE-LABlab(59.11, 36.03, -34.91)
CIE-LCHlch(59.11, 50.17, 315.90°)
OKLaboklab(66.21% 0.0902 -0.0965)
OKLCHoklch(66.21% 0.132 313.1)
XYZxyz(35.4138, 27.1490, 60.4898)
Luminance0.2715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF79CC #96CC79
analogous
#8579CC #AF79CC #CC79BF
triadic
#AF79CC #CCAF79 #79CCAF
tetradic
#AF79CC #CC8579 #96CC79 #79BFCC
square
#AF79CC #CC8579 #96CC79 #79BFCC
split-complementary
#AF79CC #BFCC79 #79CC85
monochromatic
#733893 #954DBB #AF79CC #C9A5DD #E4D2EE

Accessibility & contrast

On white

3.27
#AF79CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#AF79CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF79CC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF79CC#FFFFFF#000000##000000
##AF79CC1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCF
Deuteranopia (green-blind)
#7790CA
Tritanopia (blue-blind)
#AD8599
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af79cc;
/* rgb */ color: rgb(175, 121, 204);
/* oklch */ color: oklch(66.2% 0.132 313.1);
Tailwind
colors: {
  custom: {
    50: '#c8a0dc',
    500: '#af79cc',
    950: '#000000',
  },
}
SCSS
$custom: #af79cc;
$custom-light: #c8a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af79cc",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 279.036,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66209,
    "c": 0.13212,
    "h": 313.1
  },
  "luminance": 0.27148
}

Semantic roles & 50–950 ramp

primary
#AF79CC
secondary
#CCDFC2
accent
#B82D5E
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #AF79CC

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

Preview Lab → · Contrast checker → · Palette generator →

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