#B2A2FF#B2A2FF

#B2A2FF is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.2% C 0.132 H 290.8°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#B2A2FF
RGBrgb(178, 162, 255)
HSLhsl(250, 100%, 82%)
HSVhsv(250, 36%, 100%)
CMYKcmyk(30.2%, 36.5%, 0%, 0%)
CIE-LABlab(71.23, 25.81, -44.14)
CIE-LCHlch(71.23, 51.13, 300.32°)
OKLaboklab(76.21% 0.0469 -0.1232)
OKLCHoklch(76.21% 0.132 290.8)
XYZxyz(49.3258, 42.5247, 100.1976)
Luminance0.4253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A2FF #EFFFA2
analogous
#A2C1FF #B2A2FF #E1A2FF
triadic
#B2A2FF #FFB2A2 #A2FFB2
tetradic
#B2A2FF #FFA2C1 #EFFFA2 #A2FFE1
square
#B2A2FF #FFA2C1 #EFFFA2 #A2FFE1
split-complementary
#B2A2FF #FFE1A2 #C1FFA2
monochromatic
#4D28FF #7F65FF #B2A2FF #E5DFFF #E6E0FF

Accessibility & contrast

On white

2.21
#B2A2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#B2A2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A2FF
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A2FF#FFFFFF#000000##000000
##B2A2FF1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87B0FF
Deuteranopia (green-blind)
#88ACFD
Tritanopia (blue-blind)
#A0B3C5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2a2ff;
/* rgb */ color: rgb(178, 162, 255);
/* oklch */ color: oklch(76.2% 0.132 290.8);
Tailwind
colors: {
  custom: {
    50: '#cbbdff',
    500: '#b2a2ff',
    950: '#000000',
  },
}
SCSS
$custom: #b2a2ff;
$custom-light: #cbbdff;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a2ff",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 255
  },
  "hsl": {
    "h": 250.323,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.76207,
    "c": 0.13182,
    "h": 290.8
  },
  "luminance": 0.42526
}

Semantic roles & 50–950 ramp

primary
#B2A2FF
secondary
#F1F7D4
accent
#E600BE
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #B2A2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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