#B2A5EA#B2A5EA

#B2A5EA is a light, moderate violet. Relative luminance 0.423; OKLCH L 75.8% C 0.099 H 292.5°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#B2A5EA
RGBrgb(178, 165, 234)
HSLhsl(251, 62%, 78%)
HSVhsv(251, 29%, 92%)
CMYKcmyk(23.9%, 29.5%, 0%, 8.2%)
CIE-LABlab(71.09, 19.06, -32.94)
CIE-LCHlch(71.09, 38.06, 300.06°)
OKLaboklab(75.81% 0.0378 -0.091)
OKLCHoklch(75.81% 0.099 292.5)
XYZxyz(46.6630, 42.3151, 83.5352)
Luminance0.4232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A5EA #DDEAA5
analogous
#A5BAEA #B2A5EA #D4A5EA
triadic
#B2A5EA #EAB2A5 #A5EAB2
tetradic
#B2A5EA #EAA5BA #DDEAA5 #A5EAD4
square
#B2A5EA #EAA5BA #DDEAA5 #A5EAD4
split-complementary
#B2A5EA #EAD4A5 #BAEAA5
monochromatic
#5D42D3 #8873DE #B2A5EA #DCD7F6 #EAE6F9

Accessibility & contrast

On white

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

On black

9.46
#B2A5EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A5EA
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A5EA#FFFFFF#000000##000000
##B2A5EA1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AFED
Deuteranopia (green-blind)
#95ADE8
Tritanopia (blue-blind)
#A6B0BE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2a5ea;
/* rgb */ color: rgb(178, 165, 234);
/* oklch */ color: oklch(75.8% 0.099 292.5);
Tailwind
colors: {
  custom: {
    50: '#cabff1',
    500: '#b2a5ea',
    950: '#000000',
  },
}
SCSS
$custom: #b2a5ea;
$custom-light: #cabff1;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a5ea",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 234
  },
  "hsl": {
    "h": 251.304,
    "s": 62.162,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75809,
    "c": 0.09854,
    "h": 292.5
  },
  "luminance": 0.42316
}

Semantic roles & 50–950 ramp

primary
#B2A5EA
secondary
#ECF1DA
accent
#CA1CA9
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B2A5EA

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

Preview Lab → · Contrast checker → · Palette generator →

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