#B161F7#B161F7

#B161F7 is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.2% C 0.219 H 305.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B161F7
RGBrgb(177, 97, 247)
HSLhsl(272, 90%, 67%)
HSVhsv(272, 61%, 97%)
CMYKcmyk(28.3%, 60.7%, 0%, 3.1%)
CIE-LABlab(56.70, 58.81, -62.82)
CIE-LCHlch(56.70, 86.05, 313.11°)
OKLaboklab(65.2% 0.1279 -0.1776)
OKLCHoklch(65.2% 0.219 305.7)
XYZxyz(39.1910, 24.6122, 90.6636)
Luminance0.2461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161F7 #A7F761
analogous
#6661F7 #B161F7 #F761F2
triadic
#B161F7 #F7B161 #61F7B1
tetradic
#B161F7 #F76661 #A7F761 #61F2F7
square
#B161F7 #F76661 #A7F761 #61F2F7
split-complementary
#B161F7 #F2F761 #61F766
monochromatic
#750BD3 #9427F4 #B161F7 #CE9BFA #EBD6FD

Accessibility & contrast

On white

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

On black

5.92
#B161F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161F7
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161F7#FFFFFF#000000##000000
##B161F71.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0786FC
Deuteranopia (green-blind)
#4188F4
Tritanopia (blue-blind)
#A580A3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b161f7;
/* rgb */ color: rgb(177, 97, 247);
/* oklch */ color: oklch(65.2% 0.219 305.7);
Tailwind
colors: {
  custom: {
    50: '#cc92fb',
    500: '#b161f7',
    950: '#000000',
  },
}
SCSS
$custom: #b161f7;
$custom-light: #cc92fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b161f7",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 247
  },
  "hsl": {
    "h": 272,
    "s": 90.361,
    "l": 67.451
  },
  "oklch": {
    "l": 0.652,
    "c": 0.21887,
    "h": 305.7
  },
  "luminance": 0.24612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B161F7

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

Preview Lab → · Contrast checker → · Palette generator →

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