#B1A2F0#B1A2F0

#B1A2F0 is a light, moderate violet. Relative luminance 0.415; OKLCH L 75.4% C 0.111 H 292.3°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#B1A2F0
RGBrgb(177, 162, 240)
HSLhsl(252, 72%, 79%)
HSVhsv(252, 33%, 94%)
CMYKcmyk(26.3%, 32.5%, 0%, 5.9%)
CIE-LABlab(70.51, 21.87, -37.12)
CIE-LCHlch(70.51, 43.08, 300.51°)
OKLaboklab(75.43% 0.0423 -0.103)
OKLCHoklch(75.43% 0.111 292.3)
XYZxyz(46.7761, 41.4783, 87.9629)
Luminance0.4148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A2F0 #E1F0A2
analogous
#A2BAF0 #B1A2F0 #D8A2F0
triadic
#B1A2F0 #F0B1A2 #A2F0B1
tetradic
#B1A2F0 #F0A2BA #E1F0A2 #A2F0D8
square
#B1A2F0 #F0A2BA #E1F0A2 #A2F0D8
split-complementary
#B1A2F0 #F0D8A2 #BAF0A2
monochromatic
#5939DF #856DE8 #B1A2F0 #DDD7F9 #E9E5FB

Accessibility & contrast

On white

2.26
#B1A2F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#B1A2F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A2F0
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A2F0#FFFFFF#000000##000000
##B1A2F01.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAEF3
Deuteranopia (green-blind)
#8FABEE
Tritanopia (blue-blind)
#A3AFBE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b1a2f0;
/* rgb */ color: rgb(177, 162, 240);
/* oklch */ color: oklch(75.4% 0.111 292.3);
Tailwind
colors: {
  custom: {
    50: '#c9bdf5',
    500: '#b1a2f0',
    950: '#000000',
  },
}
SCSS
$custom: #b1a2f0;
$custom-light: #c9bdf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a2f0",
  "rgb": {
    "r": 177,
    "g": 162,
    "b": 240
  },
  "hsl": {
    "h": 251.538,
    "s": 72.222,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75425,
    "c": 0.11135,
    "h": 292.3
  },
  "luminance": 0.41479
}

Semantic roles & 50–950 ramp

primary
#B1A2F0
secondary
#EDF2D9
accent
#D411AF
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #B1A2F0

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

Preview Lab → · Contrast checker → · Palette generator →

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