#AF79DD#AF79DD

#AF79DD is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.1% C 0.152 H 307.7°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#AF79DD
RGBrgb(175, 121, 221)
HSLhsl(272, 60%, 67%)
HSVhsv(272, 45%, 87%)
CMYKcmyk(20.8%, 45.2%, 0%, 13.3%)
CIE-LABlab(59.90, 39.79, -43.24)
CIE-LCHlch(59.90, 58.76, 312.62°)
OKLaboklab(67.06% 0.0932 -0.1206)
OKLCHoklch(67.06% 0.152 307.7)
XYZxyz(37.5652, 28.0096, 71.8200)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF79DD #A7DD79
analogous
#7D79DD #AF79DD #DD79D9
triadic
#AF79DD #DDAF79 #79DDAF
tetradic
#AF79DD #DD7D79 #A7DD79 #79D9DD
square
#AF79DD #DD7D79 #A7DD79 #79D9DD
split-complementary
#AF79DD #D9DD79 #79DD7D
monochromatic
#732CAF #9248D1 #AF79DD #CCAAE9 #E9DBF6

Accessibility & contrast

On white

3.18
#AF79DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#AF79DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF79DD
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF79DD#FFFFFF#000000##000000
##AF79DD1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EE1
Deuteranopia (green-blind)
#6E91DA
Tritanopia (blue-blind)
#A989A0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af79dd;
/* rgb */ color: rgb(175, 121, 221);
/* oklch */ color: oklch(67.1% 0.152 307.7);
Tailwind
colors: {
  custom: {
    50: '#c9a1e8',
    500: '#af79dd',
    950: '#000000',
  },
}
SCSS
$custom: #af79dd;
$custom-light: #c9a1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af79dd",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 272.4,
    "s": 59.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67056,
    "c": 0.15237,
    "h": 307.7
  },
  "luminance": 0.28009
}

Semantic roles & 50–950 ramp

primary
#AF79DD
secondary
#D8E9C9
accent
#C71E6C
background
#FCFAFE
surface
#F8F3FC
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AF79DD

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

Preview Lab → · Contrast checker → · Palette generator →

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