#AF5DED#AF5DED

#AF5DED is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.8% C 0.213 H 307.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AF5DED
RGBrgb(175, 93, 237)
HSLhsl(274, 80%, 65%)
HSVhsv(274, 61%, 93%)
CMYKcmyk(26.2%, 60.8%, 0%, 7.1%)
CIE-LABlab(55.13, 58.07, -59.77)
CIE-LCHlch(55.13, 83.34, 314.17°)
OKLaboklab(63.82% 0.1303 -0.1687)
OKLCHoklch(63.82% 0.213 307.7)
XYZxyz(36.8765, 23.0576, 82.6122)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5DED #9BED5D
analogous
#675DED #AF5DED #ED5DE3
triadic
#AF5DED #EDAF5D #5DEDAF
tetradic
#AF5DED #ED675D #9BED5D #5DE3ED
square
#AF5DED #ED675D #9BED5D #5DE3ED
split-complementary
#AF5DED #E3ED5D #5DED67
monochromatic
#7315BB #9426E7 #AF5DED #CA94F3 #E5CBF9

Accessibility & contrast

On white

3.74
#AF5DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#AF5DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5DED
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5DED#FFFFFF#000000##000000
##AF5DED1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1481F2
Deuteranopia (green-blind)
#4485EA
Tritanopia (blue-blind)
#A57A9D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af5ded;
/* rgb */ color: rgb(175, 93, 237);
/* oklch */ color: oklch(63.8% 0.213 307.7);
Tailwind
colors: {
  custom: {
    50: '#cb8ff3',
    500: '#af5ded',
    950: '#000000',
  },
}
SCSS
$custom: #af5ded;
$custom-light: #cb8ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#af5ded",
  "rgb": {
    "r": 175,
    "g": 93,
    "b": 237
  },
  "hsl": {
    "h": 274.167,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63819,
    "c": 0.21321,
    "h": 307.7
  },
  "luminance": 0.23057
}

Semantic roles & 50–950 ramp

primary
#AF5DED
secondary
#CFECBA
accent
#DC0964
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF5DED

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

Preview Lab → · Contrast checker → · Palette generator →

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