#AF6DBF#AF6DBF

#AF6DBF is a light, vivid purple. Relative luminance 0.238; OKLCH L 63.6% C 0.138 H 319.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AF6DBF
RGBrgb(175, 109, 191)
HSLhsl(288, 39%, 59%)
HSVhsv(288, 43%, 75%)
CMYKcmyk(8.4%, 42.9%, 0%, 25.1%)
CIE-LABlab(55.90, 39.90, -32.53)
CIE-LCHlch(55.90, 51.48, 320.81°)
OKLaboklab(63.61% 0.1053 -0.0896)
OKLCHoklch(63.61% 0.138 319.6)
XYZxyz(32.5506, 23.8139, 52.1620)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6DBF #7DBF6D
analogous
#866DBF #AF6DBF #BF6DA6
triadic
#AF6DBF #BFAF6D #6DBFAF
tetradic
#AF6DBF #BF866D #7DBF6D #6DA6BF
square
#AF6DBF #BF866D #7DBF6D #6DA6BF
split-complementary
#AF6DBF #A6BF6D #6DBF86
monochromatic
#6E367B #9449A6 #AF6DBF #C698D2 #DEC2E4

Accessibility & contrast

On white

3.64
#AF6DBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#AF6DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6DBF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6DBF#FFFFFF#000000##000000
##AF6DBF1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6181C2
Deuteranopia (green-blind)
#7388BD
Tritanopia (blue-blind)
#B0778D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af6dbf;
/* rgb */ color: rgb(175, 109, 191);
/* oklch */ color: oklch(63.6% 0.138 319.6);
Tailwind
colors: {
  custom: {
    50: '#c898d2',
    500: '#af6dbf',
    950: '#000000',
  },
}
SCSS
$custom: #af6dbf;
$custom-light: #c898d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af6dbf",
  "rgb": {
    "r": 175,
    "g": 109,
    "b": 191
  },
  "hsl": {
    "h": 288.293,
    "s": 39.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6361,
    "c": 0.13825,
    "h": 319.6
  },
  "luminance": 0.23813
}

Semantic roles & 50–950 ramp

primary
#AF6DBF
secondary
#BAD4B4
accent
#CF5970
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF6DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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