#AFA4E0#AFA4E0

#AFA4E0 is a light, moderate violet. Relative luminance 0.410; OKLCH L 74.9% C 0.086 H 292.6°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#AFA4E0
RGBrgb(175, 164, 224)
HSLhsl(251, 49%, 76%)
HSVhsv(251, 27%, 88%)
CMYKcmyk(21.9%, 26.8%, 0%, 12.2%)
CIE-LABlab(70.21, 16.39, -28.85)
CIE-LCHlch(70.21, 33.18, 299.60°)
OKLaboklab(74.94% 0.0331 -0.0794)
OKLCHoklch(74.94% 0.086 292.6)
XYZxyz(44.4061, 41.0462, 76.0897)
Luminance0.4105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4E0 #D5E0A4
analogous
#A4B7E0 #AFA4E0 #CDA4E0
triadic
#AFA4E0 #E0AFA4 #A4E0AF
tetradic
#AFA4E0 #E0A4B7 #D5E0A4 #A4E0CD
square
#AFA4E0 #E0A4B7 #D5E0A4 #A4E0CD
split-complementary
#AFA4E0 #E0CDA4 #B7E0A4
monochromatic
#5F49C1 #8776D0 #AFA4E0 #D7D2F0 #EBE8F7

Accessibility & contrast

On white

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

On black

9.21
#AFA4E0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4E0
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4E0#FFFFFF#000000##000000
##AFA4E01.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ACE3
Deuteranopia (green-blind)
#96ABDE
Tritanopia (blue-blind)
#A5AEB9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afa4e0;
/* rgb */ color: rgb(175, 164, 224);
/* oklch */ color: oklch(74.9% 0.086 292.6);
Tailwind
colors: {
  custom: {
    50: '#c7bfea',
    500: '#afa4e0',
    950: '#000000',
  },
}
SCSS
$custom: #afa4e0;
$custom-light: #c7bfea;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4e0",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 224
  },
  "hsl": {
    "h": 251,
    "s": 49.18,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74944,
    "c": 0.08602,
    "h": 292.6
  },
  "luminance": 0.41047
}

Semantic roles & 50–950 ramp

primary
#AFA4E0
secondary
#EBEEDD
accent
#BC29A1
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA4E0

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

Preview Lab → · Contrast checker → · Palette generator →

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