#AFA4E2#AFA4E2

#AFA4E2 is a light, moderate violet. Relative luminance 0.412; OKLCH L 75.0% C 0.089 H 292.3°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#AFA4E2
RGBrgb(175, 164, 226)
HSLhsl(251, 52%, 76%)
HSVhsv(251, 27%, 89%)
CMYKcmyk(22.6%, 27.4%, 0%, 11.4%)
CIE-LABlab(70.28, 16.85, -29.82)
CIE-LCHlch(70.28, 34.26, 299.47°)
OKLaboklab(75.03% 0.0336 -0.0822)
OKLCHoklch(75.03% 0.089 292.3)
XYZxyz(44.6789, 41.1553, 77.5266)
Luminance0.4116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4E2 #D7E2A4
analogous
#A4B8E2 #AFA4E2 #CEA4E2
triadic
#AFA4E2 #E2AFA4 #A4E2AF
tetradic
#AFA4E2 #E2A4B8 #D7E2A4 #A4E2CE
square
#AFA4E2 #E2A4B8 #D7E2A4 #A4E2CE
split-complementary
#AFA4E2 #E2CEA4 #B8E2A4
monochromatic
#5D47C4 #8676D3 #AFA4E2 #D8D2F1 #EBE8F8

Accessibility & contrast

On white

2.27
#AFA4E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#AFA4E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4E2
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4E2#FFFFFF#000000##000000
##AFA4E21.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ADE5
Deuteranopia (green-blind)
#96ABE0
Tritanopia (blue-blind)
#A5AEBA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afa4e2;
/* rgb */ color: rgb(175, 164, 226);
/* oklch */ color: oklch(75.0% 0.089 292.3);
Tailwind
colors: {
  custom: {
    50: '#c7bfeb',
    500: '#afa4e2',
    950: '#000000',
  },
}
SCSS
$custom: #afa4e2;
$custom-light: #c7bfeb;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4e2",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 226
  },
  "hsl": {
    "h": 250.645,
    "s": 51.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75028,
    "c": 0.0888,
    "h": 292.3
  },
  "luminance": 0.41156
}

Semantic roles & 50–950 ramp

primary
#AFA4E2
secondary
#EBEFDC
accent
#BF26A4
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA4E2

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

Preview Lab → · Contrast checker → · Palette generator →

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