#AF84DF#AF84DF

#AF84DF is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.0% C 0.137 H 304.8°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#AF84DF
RGBrgb(175, 132, 223)
HSLhsl(268, 59%, 70%)
HSVhsv(268, 41%, 87%)
CMYKcmyk(21.5%, 40.8%, 0%, 12.5%)
CIE-LABlab(62.46, 34.14, -40.33)
CIE-LCHlch(62.46, 52.84, 310.25°)
OKLaboklab(69.01% 0.0781 -0.1122)
OKLCHoklch(69.01% 0.137 304.8)
XYZxyz(39.2470, 30.9444, 73.7030)
Luminance0.3094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF84DF #B4DF84
analogous
#8486DF #AF84DF #DD84DF
triadic
#AF84DF #DFAF84 #84DFAF
tetradic
#AF84DF #DF8486 #B4DF84 #84DFDD
square
#AF84DF #DF8486 #B4DF84 #84DFDD
split-complementary
#AF84DF #DFDD84 #86DF84
monochromatic
#7130B9 #8F53D2 #AF84DF #CFB5EC #EEE5F8

Accessibility & contrast

On white

2.92
#AF84DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#AF84DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF84DF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF84DF#FFFFFF#000000##000000
##AF84DF1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E96E2
Deuteranopia (green-blind)
#7897DD
Tritanopia (blue-blind)
#A793A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af84df;
/* rgb */ color: rgb(175, 132, 223);
/* oklch */ color: oklch(69.0% 0.137 304.8);
Tailwind
colors: {
  custom: {
    50: '#c8a8e9',
    500: '#af84df',
    950: '#000000',
  },
}
SCSS
$custom: #af84df;
$custom-light: #c8a8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af84df",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 223
  },
  "hsl": {
    "h": 268.352,
    "s": 58.71,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69013,
    "c": 0.1367,
    "h": 304.8
  },
  "luminance": 0.30944
}

Semantic roles & 50–950 ramp

primary
#AF84DF
secondary
#E0ECD2
accent
#C61F77
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF84DF

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

Preview Lab → · Contrast checker → · Palette generator →

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