#B2A8DD#B2A8DD

#B2A8DD is a light, moderate violet. Relative luminance 0.427; OKLCH L 75.8% C 0.076 H 293.2°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#B2A8DD
RGBrgb(178, 168, 221)
HSLhsl(251, 44%, 76%)
HSVhsv(251, 24%, 87%)
CMYKcmyk(19.5%, 24%, 0%, 13.3%)
CIE-LABlab(71.34, 14.40, -25.44)
CIE-LCHlch(71.34, 29.23, 299.51°)
OKLaboklab(75.84% 0.0298 -0.0697)
OKLCHoklch(75.84% 0.076 293.2)
XYZxyz(45.4109, 42.6903, 74.2402)
Luminance0.4269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A8DD #D3DDA8
analogous
#A8B9DD #B2A8DD #CDA8DD
triadic
#B2A8DD #DDB2A8 #A8DDB2
tetradic
#B2A8DD #DDA8B9 #D3DDA8 #A8DDCD
square
#B2A8DD #DDA8B9 #D3DDA8 #A8DDCD
split-complementary
#B2A8DD #DDCDA8 #B9DDA8
monochromatic
#6450BB #8B7CCC #B2A8DD #D9D4EE #ECE9F6

Accessibility & contrast

On white

2.20
#B2A8DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#B2A8DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A8DD
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A8DD#FFFFFF#000000##000000
##B2A8DD1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CAFDF
Deuteranopia (green-blind)
#9DAEDC
Tritanopia (blue-blind)
#AAB0BA
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2a8dd;
/* rgb */ color: rgb(178, 168, 221);
/* oklch */ color: oklch(75.8% 0.076 293.2);
Tailwind
colors: {
  custom: {
    50: '#c9c1e7',
    500: '#b2a8dd',
    950: '#000000',
  },
}
SCSS
$custom: #b2a8dd;
$custom-light: #c9c1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a8dd",
  "rgb": {
    "r": 178,
    "g": 168,
    "b": 221
  },
  "hsl": {
    "h": 251.321,
    "s": 43.802,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75844,
    "c": 0.07584,
    "h": 293.2
  },
  "luminance": 0.42691
}

Semantic roles & 50–950 ramp

primary
#B2A8DD
secondary
#EAEDDE
accent
#B72F9D
background
#FCFBFE
surface
#F8F7FC
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B2A8DD

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

Preview Lab → · Contrast checker → · Palette generator →

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