#AF6DB2#AF6DB2

#AF6DB2 is a light, vivid purple. Relative luminance 0.233; OKLCH L 63.0% C 0.125 H 325.4°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AF6DB2
RGBrgb(175, 109, 178)
HSLhsl(297, 31%, 56%)
HSVhsv(297, 39%, 70%)
CMYKcmyk(1.7%, 38.8%, 0%, 30.2%)
CIE-LABlab(55.35, 37.32, -25.92)
CIE-LCHlch(55.35, 45.44, 325.22°)
OKLaboklab(63.01% 0.1025 -0.0707)
OKLCHoklch(63.01% 0.125 325.4)
XYZxyz(31.1830, 23.2669, 44.9592)
Luminance0.2327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6DB2 #70B26D
analogous
#8D6DB2 #AF6DB2 #B26D93
triadic
#AF6DB2 #B2AF6D #6DB2AF
tetradic
#AF6DB2 #B28D6D #70B26D #6D93B2
square
#AF6DB2 #B28D6D #70B26D #6D93B2
split-complementary
#AF6DB2 #93B26D #6DB28D
monochromatic
#6A396C #914E94 #AF6DB2 #C595C7 #DBBDDC

Accessibility & contrast

On white

3.71
#AF6DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#AF6DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6DB2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6DB2#FFFFFF#000000##000000
##AF6DB21.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#677FB5
Deuteranopia (green-blind)
#7887B0
Tritanopia (blue-blind)
#B27487
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af6db2;
/* rgb */ color: rgb(175, 109, 178);
/* oklch */ color: oklch(63.0% 0.125 325.4);
Tailwind
colors: {
  custom: {
    50: '#c898c9',
    500: '#af6db2',
    950: '#000000',
  },
}
SCSS
$custom: #af6db2;
$custom-light: #c898c9;
$custom-dark: #000000;
JSON
{
  "hex": "#af6db2",
  "rgb": {
    "r": 175,
    "g": 109,
    "b": 178
  },
  "hsl": {
    "h": 297.391,
    "s": 30.942,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63012,
    "c": 0.12457,
    "h": 325.4
  },
  "luminance": 0.23266
}

Semantic roles & 50–950 ramp

primary
#AF6DB2
secondary
#B0CCAF
accent
#C76165
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130E13
muted
#827E82

Preview Lab

Preview with #AF6DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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