#B2A2F1#B2A2F1

#B2A2F1 is a light, moderate violet. Relative luminance 0.417; OKLCH L 75.6% C 0.113 H 292.8°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#B2A2F1
RGBrgb(178, 162, 241)
HSLhsl(252, 74%, 79%)
HSVhsv(252, 33%, 95%)
CMYKcmyk(26.1%, 32.8%, 0%, 5.5%)
CIE-LABlab(70.63, 22.40, -37.46)
CIE-LCHlch(70.63, 43.65, 300.88°)
OKLaboklab(75.55% 0.0437 -0.104)
OKLCHoklch(75.55% 0.113 292.8)
XYZxyz(47.1538, 41.6558, 88.7581)
Luminance0.4166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A2F1 #E1F1A2
analogous
#A2BAF1 #B2A2F1 #DAA2F1
triadic
#B2A2F1 #F1B2A2 #A2F1B2
tetradic
#B2A2F1 #F1A2BA #E1F1A2 #A2F1DA
square
#B2A2F1 #F1A2BA #E1F1A2 #A2F1DA
split-complementary
#B2A2F1 #F1DAA2 #BAF1A2
monochromatic
#5A38E1 #866DE9 #B2A2F1 #DED7F9 #E9E4FB

Accessibility & contrast

On white

2.25
#B2A2F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#B2A2F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A2F1
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A2F1#FFFFFF#000000##000000
##B2A2F11.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DAEF4
Deuteranopia (green-blind)
#8FABEF
Tritanopia (blue-blind)
#A5AFBF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2a2f1;
/* rgb */ color: rgb(178, 162, 241);
/* oklch */ color: oklch(75.6% 0.113 292.8);
Tailwind
colors: {
  custom: {
    50: '#cabdf6',
    500: '#b2a2f1',
    950: '#000000',
  },
}
SCSS
$custom: #b2a2f1;
$custom-light: #cabdf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a2f1",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 241
  },
  "hsl": {
    "h": 252.152,
    "s": 73.832,
    "l": 79.02
  },
  "oklch": {
    "l": 0.75553,
    "c": 0.11277,
    "h": 292.8
  },
  "luminance": 0.41657
}

Semantic roles & 50–950 ramp

primary
#B2A2F1
secondary
#EDF3D8
accent
#D610AE
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131217
muted
#828185

Preview Lab

Preview with #B2A2F1

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

Preview Lab → · Contrast checker → · Palette generator →

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