#AFA4E1#AFA4E1

#AFA4E1 is a light, moderate violet. Relative luminance 0.411; OKLCH L 75.0% C 0.087 H 292.4°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#AFA4E1
RGBrgb(175, 164, 225)
HSLhsl(251, 50%, 76%)
HSVhsv(251, 27%, 88%)
CMYKcmyk(22.2%, 27.1%, 0%, 11.8%)
CIE-LABlab(70.25, 16.62, -29.34)
CIE-LCHlch(70.25, 33.72, 299.53°)
OKLaboklab(74.99% 0.0334 -0.0808)
OKLCHoklch(74.99% 0.087 292.4)
XYZxyz(44.5421, 41.1006, 76.8061)
Luminance0.4110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4E1 #D6E1A4
analogous
#A4B8E1 #AFA4E1 #CEA4E1
triadic
#AFA4E1 #E1AFA4 #A4E1AF
tetradic
#AFA4E1 #E1A4B8 #D6E1A4 #A4E1CE
square
#AFA4E1 #E1A4B8 #D6E1A4 #A4E1CE
split-complementary
#AFA4E1 #E1CEA4 #B8E1A4
monochromatic
#5E48C3 #8776D2 #AFA4E1 #D7D2F0 #EBE8F7

Accessibility & contrast

On white

2.28
#AFA4E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#AFA4E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4E1
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4E1#FFFFFF#000000##000000
##AFA4E11.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ADE4
Deuteranopia (green-blind)
#96ABDF
Tritanopia (blue-blind)
#A5AEB9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afa4e1;
/* rgb */ color: rgb(175, 164, 225);
/* oklch */ color: oklch(75.0% 0.087 292.4);
Tailwind
colors: {
  custom: {
    50: '#c7bfea',
    500: '#afa4e1',
    950: '#000000',
  },
}
SCSS
$custom: #afa4e1;
$custom-light: #c7bfea;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4e1",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 225
  },
  "hsl": {
    "h": 250.82,
    "s": 50.413,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74986,
    "c": 0.08741,
    "h": 292.4
  },
  "luminance": 0.41101
}

Semantic roles & 50–950 ramp

primary
#AFA4E1
secondary
#EBEEDD
accent
#BE28A3
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA4E1

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

Preview Lab → · Contrast checker → · Palette generator →

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