#AFA4E3#AFA4E3

#AFA4E3 is a light, moderate violet. Relative luminance 0.412; OKLCH L 75.1% C 0.090 H 292.1°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#AFA4E3
RGBrgb(175, 164, 227)
HSLhsl(250, 53%, 77%)
HSVhsv(250, 28%, 89%)
CMYKcmyk(22.9%, 27.8%, 0%, 11%)
CIE-LABlab(70.32, 17.09, -30.31)
CIE-LCHlch(70.32, 34.80, 299.41°)
OKLaboklab(75.07% 0.0339 -0.0836)
OKLCHoklch(75.07% 0.09 292.1)
XYZxyz(44.8165, 41.2104, 78.2514)
Luminance0.4121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4E3 #D8E3A4
analogous
#A4B9E3 #AFA4E3 #CFA4E3
triadic
#AFA4E3 #E3AFA4 #A4E3AF
tetradic
#AFA4E3 #E3A4B9 #D8E3A4 #A4E3CF
square
#AFA4E3 #E3A4B9 #D8E3A4 #A4E3CF
split-complementary
#AFA4E3 #E3CFA4 #B9E3A4
monochromatic
#5D46C6 #8675D5 #AFA4E3 #D8D3F1 #EAE8F8

Accessibility & contrast

On white

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

On black

9.24
#AFA4E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4E3
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4E3#FFFFFF#000000##000000
##AFA4E31.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ADE6
Deuteranopia (green-blind)
#95ABE1
Tritanopia (blue-blind)
#A4AEBA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afa4e3;
/* rgb */ color: rgb(175, 164, 227);
/* oklch */ color: oklch(75.1% 0.090 292.1);
Tailwind
colors: {
  custom: {
    50: '#c8bfec',
    500: '#afa4e3',
    950: '#000000',
  },
}
SCSS
$custom: #afa4e3;
$custom-light: #c8bfec;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4e3",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 227
  },
  "hsl": {
    "h": 250.476,
    "s": 52.941,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7507,
    "c": 0.0902,
    "h": 292.1
  },
  "luminance": 0.41211
}

Semantic roles & 50–950 ramp

primary
#AFA4E3
secondary
#ECEFDC
accent
#C025A5
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA4E3

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

Preview Lab → · Contrast checker → · Palette generator →

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