#AFA4FA#AFA4FA

#AFA4FA is a light, vivid blue. Relative luminance 0.426; OKLCH L 76.1% C 0.122 H 289.0°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#AFA4FA
RGBrgb(175, 164, 250)
HSLhsl(248, 90%, 81%)
HSVhsv(248, 34%, 98%)
CMYKcmyk(30%, 34.4%, 0%, 2%)
CIE-LABlab(71.26, 22.62, -41.40)
CIE-LCHlch(71.26, 47.18, 298.65°)
OKLaboklab(76.1% 0.0398 -0.1154)
OKLCHoklch(76.1% 0.122 289)
XYZxyz(48.2055, 42.5660, 96.1002)
Luminance0.4257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4FA #EFFAA4
analogous
#A4C4FA #AFA4FA #DAA4FA
triadic
#AFA4FA #FAAFA4 #A4FAAF
tetradic
#AFA4FA #FAA4C4 #EFFAA4 #A4FADA
square
#AFA4FA #FAA4C4 #EFFAA4 #A4FADA
split-complementary
#AFA4FA #FADAA4 #C4FAA4
monochromatic
#4930F4 #7C6AF7 #AFA4FA #E2DEFD #E5E2FD

Accessibility & contrast

On white

2.21
#AFA4FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#AFA4FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4FA
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4FA#FFFFFF#000000##000000
##AFA4FA1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FD
Deuteranopia (green-blind)
#8BACF8
Tritanopia (blue-blind)
#9DB3C4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afa4fa;
/* rgb */ color: rgb(175, 164, 250);
/* oklch */ color: oklch(76.1% 0.122 289.0);
Tailwind
colors: {
  custom: {
    50: '#c9bffc',
    500: '#afa4fa',
    950: '#000000',
  },
}
SCSS
$custom: #afa4fa;
$custom-light: #c9bffc;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4fa",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 250
  },
  "hsl": {
    "h": 247.674,
    "s": 89.583,
    "l": 81.176
  },
  "oklch": {
    "l": 0.76098,
    "c": 0.12202,
    "h": 289
  },
  "luminance": 0.42567
}

Semantic roles & 50–950 ramp

primary
#AFA4FA
secondary
#F1F5D6
accent
#E600C8
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFA4FA

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

Preview Lab → · Contrast checker → · Palette generator →

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