#AFA4F0#AFA4F0

#AFA4F0 is a light, moderate blue. Relative luminance 0.420; OKLCH L 75.6% C 0.108 H 290.2°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#AFA4F0
RGBrgb(175, 164, 240)
HSLhsl(249, 72%, 79%)
HSVhsv(249, 32%, 94%)
CMYKcmyk(27.1%, 31.7%, 0%, 5.9%)
CIE-LABlab(70.84, 20.17, -36.61)
CIE-LCHlch(70.84, 41.80, 298.85°)
OKLaboklab(75.64% 0.0374 -0.1016)
OKLCHoklch(75.64% 0.108 290.2)
XYZxyz(46.6789, 41.9553, 88.0601)
Luminance0.4196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4F0 #E5F0A4
analogous
#A4BFF0 #AFA4F0 #D5A4F0
triadic
#AFA4F0 #F0AFA4 #A4F0AF
tetradic
#AFA4F0 #F0A4BF #E5F0A4 #A4F0D5
square
#AFA4F0 #F0A4BF #E5F0A4 #A4F0D5
split-complementary
#AFA4F0 #F0D5A4 #BFF0A4
monochromatic
#533BDF #816FE7 #AFA4F0 #DDD9F9 #E8E5FB

Accessibility & contrast

On white

2.24
#AFA4F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#AFA4F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4F0
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4F0#FFFFFF#000000##000000
##AFA4F01.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AFF3
Deuteranopia (green-blind)
#90ACEE
Tritanopia (blue-blind)
#A0B1BF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afa4f0;
/* rgb */ color: rgb(175, 164, 240);
/* oklch */ color: oklch(75.6% 0.108 290.2);
Tailwind
colors: {
  custom: {
    50: '#c8bff5',
    500: '#afa4f0',
    950: '#000000',
  },
}
SCSS
$custom: #afa4f0;
$custom-light: #c8bff5;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4f0",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 240
  },
  "hsl": {
    "h": 248.684,
    "s": 71.698,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75639,
    "c": 0.10825,
    "h": 290.2
  },
  "luminance": 0.41956
}

Semantic roles & 50–950 ramp

primary
#AFA4F0
secondary
#EFF2D9
accent
#D412B8
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AFA4F0

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

Preview Lab → · Contrast checker → · Palette generator →

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