#AFA5FB#AFA5FB

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

Color values

HEX#AFA5FB
RGBrgb(175, 165, 251)
HSLhsl(247, 91%, 82%)
HSVhsv(247, 34%, 98%)
CMYKcmyk(30.3%, 34.3%, 0%, 1.6%)
CIE-LABlab(71.55, 22.31, -41.49)
CIE-LCHlch(71.55, 47.11, 298.27°)
OKLaboklab(76.33% 0.0387 -0.1156)
OKLCHoklch(76.33% 0.122 288.5)
XYZxyz(48.5424, 42.9882, 96.9881)
Luminance0.4299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA5FB #F1FBA5
analogous
#A5C6FB #AFA5FB #DAA5FB
triadic
#AFA5FB #FBAFA5 #A5FBAF
tetradic
#AFA5FB #FBA5C6 #F1FBA5 #A5FBDA
square
#AFA5FB #FBA5C6 #F1FBA5 #A5FBDA
split-complementary
#AFA5FB #FBDAA5 #C6FBA5
monochromatic
#4730F6 #7B6AF8 #AFA5FB #E3E0FE #E5E2FE

Accessibility & contrast

On white

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

On black

9.60
#AFA5FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA5FB
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA5FB#FFFFFF#000000##000000
##AFA5FB1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB1FE
Deuteranopia (green-blind)
#8CADF9
Tritanopia (blue-blind)
#9DB4C5
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afa5fb;
/* rgb */ color: rgb(175, 165, 251);
/* oklch */ color: oklch(76.3% 0.122 288.5);
Tailwind
colors: {
  custom: {
    50: '#c9bffd',
    500: '#afa5fb',
    950: '#000000',
  },
}
SCSS
$custom: #afa5fb;
$custom-light: #c9bffd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa5fb",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 251
  },
  "hsl": {
    "h": 246.977,
    "s": 91.489,
    "l": 81.569
  },
  "oklch": {
    "l": 0.76333,
    "c": 0.12192,
    "h": 288.5
  },
  "luminance": 0.42989
}

Semantic roles & 50–950 ramp

primary
#AFA5FB
secondary
#F2F6D5
accent
#E600CB
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFA5FB

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

Preview Lab → · Contrast checker → · Palette generator →

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