#B161F1#B161F1

#B161F1 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.8% C 0.212 H 307.1°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B161F1
RGBrgb(177, 97, 241)
HSLhsl(273, 84%, 66%)
HSVhsv(273, 60%, 95%)
CMYKcmyk(26.6%, 59.8%, 0%, 5.5%)
CIE-LABlab(56.34, 57.46, -60.06)
CIE-LCHlch(56.34, 83.12, 313.73°)
OKLaboklab(64.82% 0.128 -0.1695)
OKLCHoklch(64.82% 0.212 307.1)
XYZxyz(38.2800, 24.2478, 85.8657)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161F1 #A1F161
analogous
#6961F1 #B161F1 #F161E9
triadic
#B161F1 #F1B161 #61F1B1
tetradic
#B161F1 #F16961 #A1F161 #61E9F1
square
#B161F1 #F16961 #A1F161 #61E9F1
split-complementary
#B161F1 #E9F161 #61F169
monochromatic
#7612C6 #9529EC #B161F1 #CD99F6 #E9D1FB

Accessibility & contrast

On white

3.59
#B161F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#B161F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161F1
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161F1#FFFFFF#000000##000000
##B161F11.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D84F6
Deuteranopia (green-blind)
#4788EE
Tritanopia (blue-blind)
#A77DA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b161f1;
/* rgb */ color: rgb(177, 97, 241);
/* oklch */ color: oklch(64.8% 0.212 307.1);
Tailwind
colors: {
  custom: {
    50: '#cc92f6',
    500: '#b161f1',
    950: '#000000',
  },
}
SCSS
$custom: #b161f1;
$custom-light: #cc92f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b161f1",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 241
  },
  "hsl": {
    "h": 273.333,
    "s": 83.721,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64822,
    "c": 0.21245,
    "h": 307.1
  },
  "luminance": 0.24247
}

Semantic roles & 50–950 ramp

primary
#B161F1
secondary
#D4EEBF
accent
#E00567
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #B161F1

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

Preview Lab → · Contrast checker → · Palette generator →

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