#AF3DED#AF3DED

#AF3DED is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 60.3% C 0.252 H 310.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AF3DED
RGBrgb(175, 61, 237)
HSLhsl(279, 83%, 58%)
HSVhsv(279, 74%, 93%)
CMYKcmyk(26.2%, 74.3%, 0%, 7.1%)
CIE-LABlab(50.18, 71.88, -67.76)
CIE-LCHlch(50.18, 98.78, 316.69°)
OKLaboklab(60.27% 0.1633 -0.192)
OKLCHoklch(60.27% 0.252 310.4)
XYZxyz(34.6310, 18.5667, 81.8637)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DED #7BED3D
analogous
#573DED #AF3DED #ED3DD3
triadic
#AF3DED #EDAF3D #3DEDAF
tetradic
#AF3DED #ED573D #7BED3D #3DD3ED
square
#AF3DED #ED573D #7BED3D #3DD3ED
split-complementary
#AF3DED #D3ED3D #3DED57
monochromatic
#6D0FA1 #9314D9 #AF3DED #C675F2 #DDADF7

Accessibility & contrast

On white

4.46
#AF3DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#AF3DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF3DED
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DED#FFFFFF#000000##000000
##AF3DED1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#0E79E9
Tritanopia (blue-blind)
#A66793
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af3ded;
/* rgb */ color: rgb(175, 61, 237);
/* oklch */ color: oklch(60.3% 0.252 310.4);
Tailwind
colors: {
  custom: {
    50: '#cc7ef4',
    500: '#af3ded',
    950: '#000000',
  },
}
SCSS
$custom: #af3ded;
$custom-light: #cc7ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ded",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 237
  },
  "hsl": {
    "h": 278.864,
    "s": 83.019,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60271,
    "c": 0.2521,
    "h": 310.4
  },
  "luminance": 0.18566
}

Semantic roles & 50–950 ramp

primary
#AF3DED
secondary
#B9E6A0
accent
#F92E76
background
#FDF8FF
surface
#FAEFFE
border
#D3CAD6
text
#140B17
muted
#837C85

Preview Lab

Preview with #AF3DED

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

Preview Lab → · Contrast checker → · Palette generator →

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