#AF94DF#AF94DF

#AF94DF is a light, moderate violet. Relative luminance 0.356; OKLCH L 71.9% C 0.110 H 300.2°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#AF94DF
RGBrgb(175, 148, 223)
HSLhsl(262, 54%, 73%)
HSVhsv(262, 34%, 87%)
CMYKcmyk(21.5%, 33.6%, 0%, 12.5%)
CIE-LABlab(66.23, 25.14, -34.45)
CIE-LCHlch(66.23, 42.65, 306.13°)
OKLaboklab(71.88% 0.0555 -0.0953)
OKLCHoklch(71.88% 0.11 300.2)
XYZxyz(41.5855, 35.6213, 74.4825)
Luminance0.3562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF94DF #C4DF94
analogous
#949EDF #AF94DF #D494DF
triadic
#AF94DF #DFAF94 #94DFAF
tetradic
#AF94DF #DF949E #C4DF94 #94DFD4
square
#AF94DF #DF949E #C4DF94 #94DFD4
split-complementary
#AF94DF #DFD494 #9EDF94
monochromatic
#6A39BF #8C65D1 #AF94DF #D2C3ED #EDE7F8

Accessibility & contrast

On white

2.58
#AF94DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#AF94DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF94DF
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF94DF#FFFFFF#000000##000000
##AF94DF1.002.588.128.12
#FFFFFF2.581.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A1E2
Deuteranopia (green-blind)
#87A1DD
Tritanopia (blue-blind)
#A6A0AF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #af94df;
/* rgb */ color: rgb(175, 148, 223);
/* oklch */ color: oklch(71.9% 0.110 300.2);
Tailwind
colors: {
  custom: {
    50: '#c8b3e9',
    500: '#af94df',
    950: '#000000',
  },
}
SCSS
$custom: #af94df;
$custom-light: #c8b3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af94df",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 223
  },
  "hsl": {
    "h": 261.6,
    "s": 53.957,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71875,
    "c": 0.11028,
    "h": 300.2
  },
  "luminance": 0.35621
}

Semantic roles & 50–950 ramp

primary
#AF94DF
secondary
#E8EFDC
accent
#C12489
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AF94DF

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

Preview Lab → · Contrast checker → · Palette generator →

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