#B161FB#B161FB

#B161FB is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.5% C 0.223 H 304.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B161FB
RGBrgb(177, 97, 251)
HSLhsl(271, 95%, 68%)
HSVhsv(271, 61%, 98%)
CMYKcmyk(29.5%, 61.4%, 0%, 1.6%)
CIE-LABlab(56.94, 59.72, -64.64)
CIE-LCHlch(56.94, 88.01, 312.73°)
OKLaboklab(65.46% 0.1277 -0.183)
OKLCHoklch(65.46% 0.223 304.9)
XYZxyz(39.8149, 24.8618, 93.9494)
Luminance0.2486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161FB #ABFB61
analogous
#6461FB #B161FB #FB61F8
triadic
#B161FB #FBB161 #61FBB1
tetradic
#B161FB #FB6461 #ABFB61 #61F8FB
square
#B161FB #FB6461 #ABFB61 #61F8FB
split-complementary
#B161FB #F8FB61 #61FB64
monochromatic
#7506DC #9425F9 #B161FB #CE9DFD #ECD8FE

Accessibility & contrast

On white

3.52
#B161FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#B161FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161FB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161FB#FFFFFF#000000##000000
##B161FB1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#3C89F8
Tritanopia (blue-blind)
#A481A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b161fb;
/* rgb */ color: rgb(177, 97, 251);
/* oklch */ color: oklch(65.5% 0.223 304.9);
Tailwind
colors: {
  custom: {
    50: '#cd92fd',
    500: '#b161fb',
    950: '#000000',
  },
}
SCSS
$custom: #b161fb;
$custom-light: #cd92fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b161fb",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 251
  },
  "hsl": {
    "h": 271.169,
    "s": 95.062,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65456,
    "c": 0.22315,
    "h": 304.9
  },
  "luminance": 0.24862
}

Semantic roles & 50–950 ramp

primary
#B161FB
secondary
#DBF3C5
accent
#E6006E
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B161FB

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

Preview Lab → · Contrast checker → · Palette generator →

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