#B2A2F9#B2A2F9

#B2A2F9 is a light, vivid violet. Relative luminance 0.421; OKLCH L 75.9% C 0.124 H 291.6°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#B2A2F9
RGBrgb(178, 162, 249)
HSLhsl(251, 88%, 81%)
HSVhsv(251, 35%, 98%)
CMYKcmyk(28.5%, 34.9%, 0%, 2.4%)
CIE-LABlab(70.97, 24.33, -41.29)
CIE-LCHlch(70.97, 47.93, 300.51°)
OKLaboklab(75.92% 0.0456 -0.115)
OKLCHoklch(75.92% 0.124 291.6)
XYZxyz(48.3750, 42.1443, 95.1902)
Luminance0.4214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A2F9 #E9F9A2
analogous
#A2BDF9 #B2A2F9 #DDA2F9
triadic
#B2A2F9 #F9B2A2 #A2F9B2
tetradic
#B2A2F9 #F9A2BD #E9F9A2 #A2F9DD
square
#B2A2F9 #F9A2BD #E9F9A2 #A2F9DD
split-complementary
#B2A2F9 #F9DDA2 #BDF9A2
monochromatic
#532FF2 #8269F5 #B2A2F9 #E2DBFD #E7E2FD

Accessibility & contrast

On white

2.23
#B2A2F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#B2A2F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A2F9
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A2F9#FFFFFF#000000##000000
##B2A2F91.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAFFC
Deuteranopia (green-blind)
#8BACF7
Tritanopia (blue-blind)
#A2B1C2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2a2f9;
/* rgb */ color: rgb(178, 162, 249);
/* oklch */ color: oklch(75.9% 0.124 291.6);
Tailwind
colors: {
  custom: {
    50: '#cbbdfb',
    500: '#b2a2f9',
    950: '#000000',
  },
}
SCSS
$custom: #b2a2f9;
$custom-light: #cbbdfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a2f9",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 249
  },
  "hsl": {
    "h": 251.034,
    "s": 87.879,
    "l": 80.588
  },
  "oklch": {
    "l": 0.75922,
    "c": 0.12367,
    "h": 291.6
  },
  "luminance": 0.42145
}

Semantic roles & 50–950 ramp

primary
#B2A2F9
secondary
#EFF5D6
accent
#E401BB
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #B2A2F9

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

Preview Lab → · Contrast checker → · Palette generator →

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