#AF68BF#AF68BF

#AF68BF is a light, vivid purple. Relative luminance 0.228; OKLCH L 62.8% C 0.147 H 320.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AF68BF
RGBrgb(175, 104, 191)
HSLhsl(289, 40%, 58%)
HSVhsv(289, 46%, 75%)
CMYKcmyk(8.4%, 45.5%, 0%, 25.1%)
CIE-LABlab(54.84, 42.60, -34.18)
CIE-LCHlch(54.84, 54.61, 321.26°)
OKLaboklab(62.82% 0.1126 -0.0943)
OKLCHoklch(62.82% 0.147 320.1)
XYZxyz(32.0323, 22.7773, 51.9892)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68BF #78BF68
analogous
#8468BF #AF68BF #BF68A3
triadic
#AF68BF #BFAF68 #68BFAF
tetradic
#AF68BF #BF8468 #78BF68 #68A3BF
square
#AF68BF #BF8468 #78BF68 #68A3BF
split-complementary
#AF68BF #A3BF68 #68BF84
monochromatic
#6C3379 #9346A4 #AF68BF #C693D1 #DDBEE3

Accessibility & contrast

On white

3.78
#AF68BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#AF68BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68BF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68BF#FFFFFF#000000##000000
##AF68BF1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC2
Deuteranopia (green-blind)
#6F86BC
Tritanopia (blue-blind)
#B0738A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af68bf;
/* rgb */ color: rgb(175, 104, 191);
/* oklch */ color: oklch(62.8% 0.147 320.1);
Tailwind
colors: {
  custom: {
    50: '#c895d2',
    500: '#af68bf',
    950: '#000000',
  },
}
SCSS
$custom: #af68bf;
$custom-light: #c895d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af68bf",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 191
  },
  "hsl": {
    "h": 288.966,
    "s": 40.465,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62819,
    "c": 0.14686,
    "h": 320.1
  },
  "luminance": 0.22776
}

Semantic roles & 50–950 ramp

primary
#AF68BF
secondary
#B6D3B0
accent
#D0576E
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AF68BF

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

Preview Lab → · Contrast checker → · Palette generator →

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