#B2A8E3#B2A8E3

#B2A8E3 is a light, moderate violet. Relative luminance 0.430; OKLCH L 76.1% C 0.084 H 292.0°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#B2A8E3
RGBrgb(178, 168, 227)
HSLhsl(250, 51%, 77%)
HSVhsv(250, 26%, 89%)
CMYKcmyk(21.6%, 26%, 0%, 11%)
CIE-LABlab(71.57, 15.76, -28.38)
CIE-LCHlch(71.57, 32.46, 299.05°)
OKLaboklab(76.09% 0.0316 -0.0781)
OKLCHoklch(76.09% 0.084 292)
XYZxyz(46.2246, 43.0157, 78.5257)
Luminance0.4302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A8E3 #D9E3A8
analogous
#A8BCE3 #B2A8E3 #CFA8E3
triadic
#B2A8E3 #E3B2A8 #A8E3B2
tetradic
#B2A8E3 #E3A8BC #D9E3A8 #A8E3CF
square
#B2A8E3 #E3A8BC #D9E3A8 #A8E3CF
split-complementary
#B2A8E3 #E3CFA8 #BCE3A8
monochromatic
#604BC5 #897AD4 #B2A8E3 #DBD6F2 #EBE8F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A8E3#FFFFFF#000000##000000
##B2A8E31.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)
#9AB0E6
Deuteranopia (green-blind)
#9AAEE1
Tritanopia (blue-blind)
#A8B2BD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2a8e3;
/* rgb */ color: rgb(178, 168, 227);
/* oklch */ color: oklch(76.1% 0.084 292.0);
Tailwind
colors: {
  custom: {
    50: '#cac1ec',
    500: '#b2a8e3',
    950: '#000000',
  },
}
SCSS
$custom: #b2a8e3;
$custom-light: #cac1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a8e3",
  "rgb": {
    "r": 178,
    "g": 168,
    "b": 227
  },
  "hsl": {
    "h": 250.169,
    "s": 51.304,
    "l": 77.451
  },
  "oklch": {
    "l": 0.76089,
    "c": 0.08421,
    "h": 292
  },
  "luminance": 0.43016
}

Semantic roles & 50–950 ramp

primary
#B2A8E3
secondary
#ECEFDC
accent
#BF27A5
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B2A8E3

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

Preview Lab → · Contrast checker → · Palette generator →

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