#AFA3FA#AFA3FA

#AFA3FA is a light, vivid blue. Relative luminance 0.422; OKLCH L 75.9% C 0.123 H 289.4°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#AFA3FA
RGBrgb(175, 163, 250)
HSLhsl(248, 90%, 81%)
HSVhsv(248, 35%, 98%)
CMYKcmyk(30%, 34.8%, 0%, 2%)
CIE-LABlab(71.02, 23.18, -41.78)
CIE-LCHlch(71.02, 47.78, 299.02°)
OKLaboklab(75.91% 0.0411 -0.1165)
OKLCHoklch(75.91% 0.124 289.4)
XYZxyz(48.0273, 42.2095, 96.0408)
Luminance0.4221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3FA #EEFAA3
analogous
#A3C2FA #AFA3FA #DAA3FA
triadic
#AFA3FA #FAAFA3 #A3FAAF
tetradic
#AFA3FA #FAA3C2 #EEFAA3 #A3FADA
square
#AFA3FA #FAA3C2 #EEFAA3 #A3FADA
split-complementary
#AFA3FA #FADAA3 #C2FAA3
monochromatic
#4A2FF4 #7D69F7 #AFA3FA #E1DDFD #E6E2FD

Accessibility & contrast

On white

2.22
#AFA3FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#AFA3FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3FA
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3FA#FFFFFF#000000##000000
##AFA3FA1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB0FD
Deuteranopia (green-blind)
#8AACF8
Tritanopia (blue-blind)
#9DB3C3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afa3fa;
/* rgb */ color: rgb(175, 163, 250);
/* oklch */ color: oklch(75.9% 0.123 289.4);
Tailwind
colors: {
  custom: {
    50: '#c9befc',
    500: '#afa3fa',
    950: '#000000',
  },
}
SCSS
$custom: #afa3fa;
$custom-light: #c9befc;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3fa",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 250
  },
  "hsl": {
    "h": 248.276,
    "s": 89.691,
    "l": 80.98
  },
  "oklch": {
    "l": 0.75911,
    "c": 0.1235,
    "h": 289.4
  },
  "luminance": 0.4221
}

Semantic roles & 50–950 ramp

primary
#AFA3FA
secondary
#F1F6D5
accent
#E600C6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFA3FA

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

Preview Lab → · Contrast checker → · Palette generator →

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