#B161F3#B161F3

#B161F3 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.9% C 0.215 H 306.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B161F3
RGBrgb(177, 97, 243)
HSLhsl(273, 86%, 67%)
HSVhsv(273, 60%, 95%)
CMYKcmyk(27.2%, 60.1%, 0%, 4.7%)
CIE-LABlab(56.45, 57.90, -60.98)
CIE-LCHlch(56.45, 84.10, 313.52°)
OKLaboklab(64.95% 0.128 -0.1722)
OKLCHoklch(64.95% 0.215 306.6)
XYZxyz(38.5804, 24.3680, 87.4477)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161F3 #A3F361
analogous
#6861F3 #B161F3 #F361EC
triadic
#B161F3 #F3B161 #61F3B1
tetradic
#B161F3 #F36861 #A3F361 #61ECF3
square
#B161F3 #F36861 #A3F361 #61ECF3
split-complementary
#B161F3 #ECF361 #61F368
monochromatic
#760FCA #9528EF #B161F3 #CD9AF7 #E9D3FC

Accessibility & contrast

On white

3.58
#B161F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#B161F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161F3
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161F3#FFFFFF#000000##000000
##B161F31.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1885F8
Deuteranopia (green-blind)
#4588F0
Tritanopia (blue-blind)
#A67EA1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b161f3;
/* rgb */ color: rgb(177, 97, 243);
/* oklch */ color: oklch(64.9% 0.215 306.6);
Tailwind
colors: {
  custom: {
    50: '#cc92f8',
    500: '#b161f3',
    950: '#000000',
  },
}
SCSS
$custom: #b161f3;
$custom-light: #cc92f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b161f3",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 243
  },
  "hsl": {
    "h": 272.877,
    "s": 85.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64947,
    "c": 0.21458,
    "h": 306.6
  },
  "luminance": 0.24368
}

Semantic roles & 50–950 ramp

primary
#B161F3
secondary
#D6EFC0
accent
#E20368
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #B161F3

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

Preview Lab → · Contrast checker → · Palette generator →

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