#AFA4DE#AFA4DE

#AFA4DE is a light, moderate violet. Relative luminance 0.409; OKLCH L 74.9% C 0.083 H 293.0°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#AFA4DE
RGBrgb(175, 164, 222)
HSLhsl(251, 47%, 76%)
HSVhsv(251, 26%, 87%)
CMYKcmyk(21.2%, 26.1%, 0%, 12.9%)
CIE-LABlab(70.13, 15.93, -27.87)
CIE-LCHlch(70.13, 32.10, 299.75°)
OKLaboklab(74.86% 0.0325 -0.0766)
OKLCHoklch(74.86% 0.083 293)
XYZxyz(44.1364, 40.9383, 74.6697)
Luminance0.4094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4DE #D3DEA4
analogous
#A4B6DE #AFA4DE #CCA4DE
triadic
#AFA4DE #DEAFA4 #A4DEAF
tetradic
#AFA4DE #DEA4B6 #D3DEA4 #A4DECC
square
#AFA4DE #DEA4B6 #D3DEA4 #A4DECC
split-complementary
#AFA4DE #DECCA4 #B6DEA4
monochromatic
#604ABD #8877CE #AFA4DE #D6D1EE #EBE9F7

Accessibility & contrast

On white

2.29
#AFA4DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#AFA4DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4DE
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4DE#FFFFFF#000000##000000
##AFA4DE1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ACE0
Deuteranopia (green-blind)
#97AADC
Tritanopia (blue-blind)
#A6ADB8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afa4de;
/* rgb */ color: rgb(175, 164, 222);
/* oklch */ color: oklch(74.9% 0.083 293.0);
Tailwind
colors: {
  custom: {
    50: '#c7bfe8',
    500: '#afa4de',
    950: '#000000',
  },
}
SCSS
$custom: #afa4de;
$custom-light: #c7bfe8;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4de",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 222
  },
  "hsl": {
    "h": 251.379,
    "s": 46.774,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74861,
    "c": 0.08322,
    "h": 293
  },
  "luminance": 0.40939
}

Semantic roles & 50–950 ramp

primary
#AFA4DE
secondary
#EBEEDD
accent
#BA2B9F
background
#FCFBFE
surface
#F8F7FC
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA4DE

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

Preview Lab → · Contrast checker → · Palette generator →

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