#AF6DED#AF6DED

#AF6DED is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.1% C 0.190 H 305.6°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AF6DED
RGBrgb(175, 109, 237)
HSLhsl(271, 78%, 68%)
HSVhsv(271, 54%, 93%)
CMYKcmyk(26.2%, 54%, 0%, 7.1%)
CIE-LABlab(58.19, 49.93, -54.87)
CIE-LCHlch(58.19, 74.19, 312.30°)
OKLaboklab(66.06% 0.1107 -0.1544)
OKLCHoklch(66.06% 0.19 305.6)
XYZxyz(38.4307, 26.1659, 83.1303)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6DED #ABED6D
analogous
#6F6DED #AF6DED #ED6DEB
triadic
#AF6DED #EDAF6D #6DEDAF
tetradic
#AF6DED #ED6F6D #ABED6D #6DEBED
square
#AF6DED #ED6F6D #ABED6D #6DEBED
split-complementary
#AF6DED #EBED6D #6DED6F
monochromatic
#7319C7 #9137E6 #AF6DED #CDA3F4 #EBDAFA

Accessibility & contrast

On white

3.37
#AF6DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#AF6DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6DED
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6DED#FFFFFF#000000##000000
##AF6DED1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#418AF1
Deuteranopia (green-blind)
#578CEA
Tritanopia (blue-blind)
#A585A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af6ded;
/* rgb */ color: rgb(175, 109, 237);
/* oklch */ color: oklch(66.1% 0.190 305.6);
Tailwind
colors: {
  custom: {
    50: '#ca99f3',
    500: '#af6ded',
    950: '#000000',
  },
}
SCSS
$custom: #af6ded;
$custom-light: #ca99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ded",
  "rgb": {
    "r": 175,
    "g": 109,
    "b": 237
  },
  "hsl": {
    "h": 270.938,
    "s": 78.049,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66059,
    "c": 0.19002,
    "h": 305.6
  },
  "luminance": 0.26166
}

Semantic roles & 50–950 ramp

primary
#AF6DED
secondary
#DAEFC7
accent
#DA0B70
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6DED

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

Preview Lab → · Contrast checker → · Palette generator →

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