#B2A3FB#B2A3FB

#B2A3FB is a light, vivid violet. Relative luminance 0.426; OKLCH L 76.2% C 0.125 H 291.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#B2A3FB
RGBrgb(178, 163, 251)
HSLhsl(250, 92%, 81%)
HSVhsv(250, 35%, 98%)
CMYKcmyk(29.1%, 35.1%, 0%, 1.6%)
CIE-LABlab(71.30, 24.26, -41.86)
CIE-LCHlch(71.30, 48.39, 300.10°)
OKLaboklab(76.2% 0.0447 -0.1166)
OKLCHoklch(76.2% 0.125 291)
XYZxyz(48.8655, 42.6235, 96.9007)
Luminance0.4262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A3FB #ECFBA3
analogous
#A3C0FB #B2A3FB #DEA3FB
triadic
#B2A3FB #FBB2A3 #A3FBB2
tetradic
#B2A3FB #FBA3C0 #ECFBA3 #A3FBDE
square
#B2A3FB #FBA3C0 #ECFBA3 #A3FBDE
split-complementary
#B2A3FB #FBDEA3 #C0FBA3
monochromatic
#502EF6 #8168F8 #B2A3FB #E3DEFE #E6E2FE

Accessibility & contrast

On white

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

On black

9.52
#B2A3FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A3FB
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A3FB#FFFFFF#000000##000000
##B2A3FB1.002.209.529.52
#FFFFFF2.201.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB0FE
Deuteranopia (green-blind)
#8BADF9
Tritanopia (blue-blind)
#A1B3C3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2a3fb;
/* rgb */ color: rgb(178, 163, 251);
/* oklch */ color: oklch(76.2% 0.125 291.0);
Tailwind
colors: {
  custom: {
    50: '#cbbefd',
    500: '#b2a3fb',
    950: '#000000',
  },
}
SCSS
$custom: #b2a3fb;
$custom-light: #cbbefd;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a3fb",
  "rgb": {
    "r": 178,
    "g": 163,
    "b": 251
  },
  "hsl": {
    "h": 250.227,
    "s": 91.667,
    "l": 81.176
  },
  "oklch": {
    "l": 0.76201,
    "c": 0.1249,
    "h": 291
  },
  "luminance": 0.42624
}

Semantic roles & 50–950 ramp

primary
#B2A3FB
secondary
#F0F6D5
accent
#E600BE
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #B2A3FB

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

Preview Lab → · Contrast checker → · Palette generator →

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