#B161FF#B161FF

#B161FF is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.7% C 0.227 H 304.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B161FF
RGBrgb(177, 97, 255)
HSLhsl(270, 100%, 69%)
HSVhsv(270, 62%, 100%)
CMYKcmyk(30.6%, 62%, 0%, 0%)
CIE-LABlab(57.19, 60.63, -66.46)
CIE-LCHlch(57.19, 89.96, 312.38°)
OKLaboklab(65.72% 0.1275 -0.1883)
OKLCHoklch(65.72% 0.227 304.1)
XYZxyz(40.4521, 25.1166, 97.3052)
Luminance0.2512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161FF #AFFF61
analogous
#6261FF #B161FF #FF61FE
triadic
#B161FF #FFB161 #61FFB1
tetradic
#B161FF #FF6261 #AFFF61 #61FEFF
square
#B161FF #FF6261 #AFFF61 #61FEFF
split-complementary
#B161FF #FEFF61 #61FF62
monochromatic
#7400E6 #9324FF #B161FF #CF9EFF #EDDBFF

Accessibility & contrast

On white

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

On black

6.02
#B161FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161FF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161FF#FFFFFF#000000##000000
##B161FF1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b161ff;
/* rgb */ color: rgb(177, 97, 255);
/* oklch */ color: oklch(65.7% 0.227 304.1);
Tailwind
colors: {
  custom: {
    50: '#cd92ff',
    500: '#b161ff',
    950: '#000000',
  },
}
SCSS
$custom: #b161ff;
$custom-light: #cd92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b161ff",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 255
  },
  "hsl": {
    "h": 270.38,
    "s": 100,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65715,
    "c": 0.22742,
    "h": 304.1
  },
  "luminance": 0.25116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B161FF

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

Preview Lab → · Contrast checker → · Palette generator →

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