#B2A5FA#B2A5FA

#B2A5FA is a light, vivid blue. Relative luminance 0.433; OKLCH L 76.5% C 0.121 H 290.3°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#B2A5FA
RGBrgb(178, 165, 250)
HSLhsl(249, 89%, 81%)
HSVhsv(249, 34%, 98%)
CMYKcmyk(28.8%, 34%, 0%, 2%)
CIE-LABlab(71.74, 22.90, -40.63)
CIE-LCHlch(71.74, 46.64, 299.41°)
OKLaboklab(76.53% 0.0418 -0.1131)
OKLCHoklch(76.53% 0.121 290.3)
XYZxyz(49.0662, 43.2764, 96.1920)
Luminance0.4328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A5FA #EDFAA5
analogous
#A5C3FA #B2A5FA #DDA5FA
triadic
#B2A5FA #FAB2A5 #A5FAB2
tetradic
#B2A5FA #FAA5C3 #EDFAA5 #A5FADD
square
#B2A5FA #FAA5C3 #EDFAA5 #A5FADD
split-complementary
#B2A5FA #FADDA5 #C3FAA5
monochromatic
#4F31F4 #806BF7 #B2A5FA #E4DFFD #E6E2FD

Accessibility & contrast

On white

2.17
#B2A5FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#B2A5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A5FA
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A5FA#FFFFFF#000000##000000
##B2A5FA1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB1FD
Deuteranopia (green-blind)
#8EAEF8
Tritanopia (blue-blind)
#A2B4C4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2a5fa;
/* rgb */ color: rgb(178, 165, 250);
/* oklch */ color: oklch(76.5% 0.121 290.3);
Tailwind
colors: {
  custom: {
    50: '#cbbffc',
    500: '#b2a5fa',
    950: '#000000',
  },
}
SCSS
$custom: #b2a5fa;
$custom-light: #cbbffc;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a5fa",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 250
  },
  "hsl": {
    "h": 249.176,
    "s": 89.474,
    "l": 81.373
  },
  "oklch": {
    "l": 0.76527,
    "c": 0.12054,
    "h": 290.3
  },
  "luminance": 0.43277
}

Semantic roles & 50–950 ramp

primary
#B2A5FA
secondary
#F1F5D6
accent
#E600C2
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #B2A5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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