#AF84CC#AF84CC

#AF84CC is a light, moderate violet. Relative luminance 0.300; OKLCH L 68.1% C 0.113 H 311.0°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#AF84CC
RGBrgb(175, 132, 204)
HSLhsl(276, 41%, 66%)
HSVhsv(276, 35%, 80%)
CMYKcmyk(14.2%, 35.3%, 0%, 20%)
CIE-LABlab(61.63, 29.89, -30.99)
CIE-LCHlch(61.63, 43.05, 313.96°)
OKLaboklab(68.12% 0.0741 -0.0853)
OKLCHoklch(68.12% 0.113 311)
XYZxyz(36.8276, 29.9766, 60.9610)
Luminance0.2998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF84CC #A1CC84
analogous
#8B84CC #AF84CC #CC84C5
triadic
#AF84CC #CCAF84 #84CCAF
tetradic
#AF84CC #CC8B84 #A1CC84 #84C5CC
square
#AF84CC #CC8B84 #A1CC84 #84C5CC
split-complementary
#AF84CC #C5CC84 #84CC8B
monochromatic
#733F97 #9359BA #AF84CC #CBAFDE #E7DBF0

Accessibility & contrast

On white

3.00
#AF84CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#AF84CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF84CC
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF84CC#FFFFFF#000000##000000
##AF84CC1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793CF
Deuteranopia (green-blind)
#8196CA
Tritanopia (blue-blind)
#AC8E9F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af84cc;
/* rgb */ color: rgb(175, 132, 204);
/* oklch */ color: oklch(68.1% 0.113 311.0);
Tailwind
colors: {
  custom: {
    50: '#c8a8db',
    500: '#af84cc',
    950: '#000000',
  },
}
SCSS
$custom: #af84cc;
$custom-light: #c8a8db;
$custom-dark: #000000;
JSON
{
  "hex": "#af84cc",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 204
  },
  "hsl": {
    "h": 275.833,
    "s": 41.379,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68116,
    "c": 0.11301,
    "h": 311
  },
  "luminance": 0.29976
}

Semantic roles & 50–950 ramp

primary
#AF84CC
secondary
#D4E2CA
accent
#B43166
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AF84CC

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

Preview Lab → · Contrast checker → · Palette generator →

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