#B161F6#B161F6

#B161F6 is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 65.1% C 0.218 H 306.0°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B161F6
RGBrgb(177, 97, 246)
HSLhsl(272, 89%, 67%)
HSVhsv(272, 61%, 96%)
CMYKcmyk(28%, 60.6%, 0%, 3.5%)
CIE-LABlab(56.63, 58.58, -62.36)
CIE-LCHlch(56.63, 85.56, 313.21°)
OKLaboklab(65.14% 0.1279 -0.1763)
OKLCHoklch(65.14% 0.218 306)
XYZxyz(39.0371, 24.5507, 89.8531)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161F6 #A6F661
analogous
#6761F6 #B161F6 #F661F0
triadic
#B161F6 #F6B161 #61F6B1
tetradic
#B161F6 #F66761 #A6F661 #61F0F6
square
#B161F6 #F66761 #A6F661 #61F0F6
split-complementary
#B161F6 #F0F661 #61F667
monochromatic
#760CD1 #9427F3 #B161F6 #CE9BF9 #EAD5FD

Accessibility & contrast

On white

3.55
#B161F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#B161F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161F6
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161F6#FFFFFF#000000##000000
##B161F61.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D85FB
Deuteranopia (green-blind)
#4288F3
Tritanopia (blue-blind)
#A57FA3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b161f6;
/* rgb */ color: rgb(177, 97, 246);
/* oklch */ color: oklch(65.1% 0.218 306.0);
Tailwind
colors: {
  custom: {
    50: '#cc92fa',
    500: '#b161f6',
    950: '#000000',
  },
}
SCSS
$custom: #b161f6;
$custom-light: #cc92fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b161f6",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 246
  },
  "hsl": {
    "h": 272.215,
    "s": 89.222,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65136,
    "c": 0.2178,
    "h": 306
  },
  "luminance": 0.2455
}

Semantic roles & 50–950 ramp

primary
#B161F6
secondary
#D8F1C2
accent
#E6006A
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B161F6

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

Preview Lab → · Contrast checker → · Palette generator →

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