#AF84CD#AF84CD

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

Color values

HEX#AF84CD
RGBrgb(175, 132, 205)
HSLhsl(275, 42%, 66%)
HSVhsv(275, 36%, 80%)
CMYKcmyk(14.6%, 35.6%, 0%, 19.6%)
CIE-LABlab(61.68, 30.10, -31.48)
CIE-LCHlch(61.68, 43.56, 313.71°)
OKLaboklab(68.16% 0.0743 -0.0868)
OKLCHoklch(68.16% 0.114 310.6)
XYZxyz(36.9480, 30.0248, 61.5947)
Luminance0.3002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF84CD #A2CD84
analogous
#8A84CD #AF84CD #CD84C7
triadic
#AF84CD #CDAF84 #84CDAF
tetradic
#AF84CD #CD8A84 #A2CD84 #84C7CD
square
#AF84CD #CD8A84 #A2CD84 #84C7CD
split-complementary
#AF84CD #C7CD84 #84CD8A
monochromatic
#733E99 #9358BB #AF84CD #CBB0DF #E8DBF0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF84CD#FFFFFF#000000##000000
##AF84CD1.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)
#7793D0
Deuteranopia (green-blind)
#8096CB
Tritanopia (blue-blind)
#AC8E9F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af84cd;
/* rgb */ color: rgb(175, 132, 205);
/* oklch */ color: oklch(68.2% 0.114 310.6);
Tailwind
colors: {
  custom: {
    50: '#c8a8dc',
    500: '#af84cd',
    950: '#000000',
  },
}
SCSS
$custom: #af84cd;
$custom-light: #c8a8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af84cd",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 205
  },
  "hsl": {
    "h": 275.342,
    "s": 42.197,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68161,
    "c": 0.11425,
    "h": 310.6
  },
  "luminance": 0.30024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF84CD

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

Preview Lab → · Contrast checker → · Palette generator →

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