#AFA4E6#AFA4E6

#AFA4E6 is a light, moderate violet. Relative luminance 0.414; OKLCH L 75.2% C 0.094 H 291.6°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#AFA4E6
RGBrgb(175, 164, 230)
HSLhsl(250, 57%, 77%)
HSVhsv(250, 29%, 90%)
CMYKcmyk(23.9%, 28.7%, 0%, 9.8%)
CIE-LABlab(70.44, 17.79, -31.78)
CIE-LCHlch(70.44, 36.42, 299.24°)
OKLaboklab(75.2% 0.0347 -0.0877)
OKLCHoklch(75.2% 0.094 291.6)
XYZxyz(45.2342, 41.3774, 80.4510)
Luminance0.4138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4E6 #DBE6A4
analogous
#A4BAE6 #AFA4E6 #D0A4E6
triadic
#AFA4E6 #E6AFA4 #A4E6AF
tetradic
#AFA4E6 #E6A4BA #DBE6A4 #A4E6D0
square
#AFA4E6 #E6A4BA #DBE6A4 #A4E6D0
split-complementary
#AFA4E6 #E6D0A4 #BAE6A4
monochromatic
#5B44CC #8574D9 #AFA4E6 #D9D4F3 #EAE7F8

Accessibility & contrast

On white

2.26
#AFA4E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#AFA4E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4E6
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4E6#FFFFFF#000000##000000
##AFA4E61.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93ADE9
Deuteranopia (green-blind)
#94ABE4
Tritanopia (blue-blind)
#A3AFBB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afa4e6;
/* rgb */ color: rgb(175, 164, 230);
/* oklch */ color: oklch(75.2% 0.094 291.6);
Tailwind
colors: {
  custom: {
    50: '#c8bfee',
    500: '#afa4e6',
    950: '#000000',
  },
}
SCSS
$custom: #afa4e6;
$custom-light: #c8bfee;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4e6",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 230
  },
  "hsl": {
    "h": 250,
    "s": 56.897,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75199,
    "c": 0.09437,
    "h": 291.6
  },
  "luminance": 0.41378
}

Semantic roles & 50–950 ramp

primary
#AFA4E6
secondary
#ECF0DB
accent
#C421A9
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA4E6

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

Preview Lab → · Contrast checker → · Palette generator →

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