#AF84CB#AF84CB

#AF84CB is a light, moderate violet. Relative luminance 0.299; OKLCH L 68.1% C 0.112 H 311.4°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#AF84CB
RGBrgb(175, 132, 203)
HSLhsl(276, 41%, 66%)
HSVhsv(276, 35%, 80%)
CMYKcmyk(13.8%, 35%, 0%, 20.4%)
CIE-LABlab(61.59, 29.67, -30.49)
CIE-LCHlch(61.59, 42.54, 314.22°)
OKLaboklab(68.07% 0.0739 -0.0839)
OKLCHoklch(68.07% 0.112 311.4)
XYZxyz(36.7081, 29.9288, 60.3314)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF84CB #A0CB84
analogous
#8B84CB #AF84CB #CB84C3
triadic
#AF84CB #CBAF84 #84CBAF
tetradic
#AF84CB #CB8B84 #A0CB84 #84C3CB
square
#AF84CB #CB8B84 #A0CB84 #84C3CB
split-complementary
#AF84CB #C3CB84 #84CB8B
monochromatic
#733F95 #9359B9 #AF84CB #CBAFDD #E7DAEF

Accessibility & contrast

On white

3.01
#AF84CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#AF84CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF84CB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF84CB#FFFFFF#000000##000000
##AF84CB1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793CE
Deuteranopia (green-blind)
#8196C9
Tritanopia (blue-blind)
#AC8E9E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af84cb;
/* rgb */ color: rgb(175, 132, 203);
/* oklch */ color: oklch(68.1% 0.112 311.4);
Tailwind
colors: {
  custom: {
    50: '#c8a8db',
    500: '#af84cb',
    950: '#000000',
  },
}
SCSS
$custom: #af84cb;
$custom-light: #c8a8db;
$custom-dark: #000000;
JSON
{
  "hex": "#af84cb",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 203
  },
  "hsl": {
    "h": 276.338,
    "s": 40.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68071,
    "c": 0.11178,
    "h": 311.4
  },
  "luminance": 0.29928
}

Semantic roles & 50–950 ramp

primary
#AF84CB
secondary
#D3E1CA
accent
#B43265
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AF84CB

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

Preview Lab → · Contrast checker → · Palette generator →

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