#AF79CD#AF79CD

#AF79CD is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.3% C 0.133 H 312.7°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AF79CD
RGBrgb(175, 121, 205)
HSLhsl(279, 46%, 64%)
HSVhsv(279, 41%, 80%)
CMYKcmyk(14.6%, 41%, 0%, 19.6%)
CIE-LABlab(59.16, 36.25, -35.41)
CIE-LCHlch(59.16, 50.67, 315.67°)
OKLaboklab(66.26% 0.0904 -0.0979)
OKLCHoklch(66.26% 0.133 312.7)
XYZxyz(35.5342, 27.1972, 61.1234)
Luminance0.2720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF79CD #97CD79
analogous
#8579CD #AF79CD #CD79C1
triadic
#AF79CD #CDAF79 #79CDAF
tetradic
#AF79CD #CD8579 #97CD79 #79C1CD
square
#AF79CD #CD8579 #97CD79 #79C1CD
split-complementary
#AF79CD #C1CD79 #79CD85
monochromatic
#733794 #944CBC #AF79CD #CAA6DE #E4D2EE

Accessibility & contrast

On white

3.26
#AF79CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#AF79CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF79CD
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF79CD#FFFFFF#000000##000000
##AF79CD1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BD0
Deuteranopia (green-blind)
#7790CB
Tritanopia (blue-blind)
#AC8599
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af79cd;
/* rgb */ color: rgb(175, 121, 205);
/* oklch */ color: oklch(66.3% 0.133 312.7);
Tailwind
colors: {
  custom: {
    50: '#c8a0dc',
    500: '#af79cd',
    950: '#000000',
  },
}
SCSS
$custom: #af79cd;
$custom-light: #c8a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af79cd",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 278.571,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66257,
    "c": 0.1333,
    "h": 312.7
  },
  "luminance": 0.27196
}

Semantic roles & 50–950 ramp

primary
#AF79CD
secondary
#CDE0C2
accent
#B92D5F
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #AF79CD

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

Preview Lab → · Contrast checker → · Palette generator →

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