#B161F0#B161F0

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

Color values

HEX#B161F0
RGBrgb(177, 97, 240)
HSLhsl(274, 83%, 66%)
HSVhsv(274, 60%, 94%)
CMYKcmyk(26.3%, 59.6%, 0%, 5.9%)
CIE-LABlab(56.28, 57.23, -59.60)
CIE-LCHlch(56.28, 82.63, 313.84°)
OKLaboklab(64.76% 0.128 -0.1682)
OKLCHoklch(64.76% 0.211 307.3)
XYZxyz(38.1311, 24.1882, 85.0812)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161F0 #A0F061
analogous
#6961F0 #B161F0 #F061E8
triadic
#B161F0 #F0B161 #61F0B1
tetradic
#B161F0 #F06961 #A0F061 #61E8F0
square
#B161F0 #F06961 #A0F061 #61E8F0
split-complementary
#B161F0 #E8F061 #61F069
monochromatic
#7613C4 #9529EB #B161F0 #CD99F5 #E8D1FB

Accessibility & contrast

On white

3.60
#B161F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#B161F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161F0
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161F0#FFFFFF#000000##000000
##B161F01.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2084F5
Deuteranopia (green-blind)
#4988ED
Tritanopia (blue-blind)
#A77DA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b161f0;
/* rgb */ color: rgb(177, 97, 240);
/* oklch */ color: oklch(64.8% 0.211 307.3);
Tailwind
colors: {
  custom: {
    50: '#cc92f6',
    500: '#b161f0',
    950: '#000000',
  },
}
SCSS
$custom: #b161f0;
$custom-light: #cc92f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b161f0",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 240
  },
  "hsl": {
    "h": 273.566,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6476,
    "c": 0.21138,
    "h": 307.3
  },
  "luminance": 0.24188
}

Semantic roles & 50–950 ramp

primary
#B161F0
secondary
#D4EEBF
accent
#DF0666
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #B161F0

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

Preview Lab → · Contrast checker → · Palette generator →

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