#AFA4FF#AFA4FF

#AFA4FF is a light, vivid blue. Relative luminance 0.429; OKLCH L 76.3% C 0.129 H 288.5°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#AFA4FF
RGBrgb(175, 164, 255)
HSLhsl(247, 100%, 82%)
HSVhsv(247, 36%, 100%)
CMYKcmyk(31.4%, 35.7%, 0%, 0%)
CIE-LABlab(71.48, 23.87, -43.77)
CIE-LCHlch(71.48, 49.85, 298.60°)
OKLaboklab(76.33% 0.0409 -0.1222)
OKLCHoklch(76.33% 0.129 288.5)
XYZxyz(48.9999, 42.8837, 100.2841)
Luminance0.4289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4FF #F4FFA4
analogous
#A4C7FF #AFA4FF #DDA4FF
triadic
#AFA4FF #FFAFA4 #A4FFAF
tetradic
#AFA4FF #FFA4C7 #F4FFA4 #A4FFDD
square
#AFA4FF #FFA4C7 #F4FFA4 #A4FFDD
split-complementary
#AFA4FF #FFDDA4 #C7FFA4
monochromatic
#432AFF #7967FF #AFA4FF #E4E0FF #E4E0FF

Accessibility & contrast

On white

2.19
#AFA4FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#AFA4FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4FF
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4FF#FFFFFF#000000##000000
##AFA4FF1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B1FF
Deuteranopia (green-blind)
#89ADFD
Tritanopia (blue-blind)
#9CB5C6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afa4ff;
/* rgb */ color: rgb(175, 164, 255);
/* oklch */ color: oklch(76.3% 0.129 288.5);
Tailwind
colors: {
  custom: {
    50: '#c9bfff',
    500: '#afa4ff',
    950: '#000000',
  },
}
SCSS
$custom: #afa4ff;
$custom-light: #c9bfff;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4ff",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 255
  },
  "hsl": {
    "h": 247.253,
    "s": 100,
    "l": 82.157
  },
  "oklch": {
    "l": 0.76335,
    "c": 0.12887,
    "h": 288.5
  },
  "luminance": 0.42885
}

Semantic roles & 50–950 ramp

primary
#AFA4FF
secondary
#F3F7D4
accent
#E600CA
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #AFA4FF

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

Preview Lab → · Contrast checker → · Palette generator →

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