#AF96DF#AF96DF

#AF96DF is a light, moderate violet. Relative luminance 0.363; OKLCH L 72.2% C 0.107 H 299.5°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#AF96DF
RGBrgb(175, 150, 223)
HSLhsl(261, 53%, 73%)
HSVhsv(261, 33%, 87%)
CMYKcmyk(21.5%, 32.7%, 0%, 12.5%)
CIE-LABlab(66.71, 24.02, -33.70)
CIE-LCHlch(66.71, 41.38, 305.48°)
OKLaboklab(72.25% 0.0526 -0.0932)
OKLCHoklch(72.25% 0.107 299.5)
XYZxyz(41.9019, 36.2542, 74.5880)
Luminance0.3625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF96DF #C6DF96
analogous
#96A1DF #AF96DF #D396DF
triadic
#AF96DF #DFAF96 #96DFAF
tetradic
#AF96DF #DF96A1 #C6DF96 #96DFD3
square
#AF96DF #DF96A1 #C6DF96 #96DFD3
split-complementary
#AF96DF #DFD396 #A1DF96
monochromatic
#683BC0 #8B67D1 #AF96DF #D3C5ED #EDE8F8

Accessibility & contrast

On white

2.55
#AF96DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#AF96DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF96DF
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF96DF#FFFFFF#000000##000000
##AF96DF1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A2E2
Deuteranopia (green-blind)
#89A2DD
Tritanopia (blue-blind)
#A6A2B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #af96df;
/* rgb */ color: rgb(175, 150, 223);
/* oklch */ color: oklch(72.2% 0.107 299.5);
Tailwind
colors: {
  custom: {
    50: '#c8b5e9',
    500: '#af96df',
    950: '#000000',
  },
}
SCSS
$custom: #af96df;
$custom-light: #c8b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af96df",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 260.548,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72245,
    "c": 0.107,
    "h": 299.5
  },
  "luminance": 0.36254
}

Semantic roles & 50–950 ramp

primary
#AF96DF
secondary
#E8EFDC
accent
#C1258B
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AF96DF

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

Preview Lab → · Contrast checker → · Palette generator →

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