#B161FE#B161FE

#B161FE is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.6% C 0.226 H 304.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B161FE
RGBrgb(177, 97, 254)
HSLhsl(271, 99%, 69%)
HSVhsv(271, 62%, 100%)
CMYKcmyk(30.3%, 61.8%, 0%, 0.4%)
CIE-LABlab(57.13, 60.40, -66.00)
CIE-LCHlch(57.13, 89.47, 312.46°)
OKLaboklab(65.65% 0.1276 -0.187)
OKLCHoklch(65.65% 0.226 304.3)
XYZxyz(40.2915, 25.0524, 96.4597)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161FE #AEFE61
analogous
#6361FE #B161FE #FE61FD
triadic
#B161FE #FEB161 #61FEB1
tetradic
#B161FE #FE6361 #AEFE61 #61FDFE
square
#B161FE #FE6361 #AEFE61 #61FDFE
split-complementary
#B161FE #FDFE61 #61FE63
monochromatic
#7401E3 #9324FE #B161FE #CF9EFE #EDDBFF

Accessibility & contrast

On white

3.49
#B161FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#B161FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161FE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161FE#FFFFFF#000000##000000
##B161FE1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#3789FA
Tritanopia (blue-blind)
#A382A7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b161fe;
/* rgb */ color: rgb(177, 97, 254);
/* oklch */ color: oklch(65.6% 0.226 304.3);
Tailwind
colors: {
  custom: {
    50: '#cd92ff',
    500: '#b161fe',
    950: '#000000',
  },
}
SCSS
$custom: #b161fe;
$custom-light: #cd92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b161fe",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 254
  },
  "hsl": {
    "h": 270.573,
    "s": 98.742,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6565,
    "c": 0.22635,
    "h": 304.3
  },
  "luminance": 0.25052
}

Semantic roles & 50–950 ramp

primary
#B161FE
secondary
#DDF5C6
accent
#E60071
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B161FE

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

Preview Lab → · Contrast checker → · Palette generator →

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