#B161E9#B161E9

#B161E9 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.3% C 0.204 H 308.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B161E9
RGBrgb(177, 97, 233)
HSLhsl(275, 76%, 65%)
HSVhsv(275, 58%, 91%)
CMYKcmyk(24%, 58.4%, 0%, 8.6%)
CIE-LABlab(55.87, 55.68, -56.34)
CIE-LCHlch(55.87, 79.21, 314.66°)
OKLaboklab(64.33% 0.1281 -0.1587)
OKLCHoklch(64.33% 0.204 308.9)
XYZxyz(37.1112, 23.7803, 79.7100)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161E9 #99E961
analogous
#6D61E9 #B161E9 #E961DD
triadic
#B161E9 #E9B161 #61E9B1
tetradic
#B161E9 #E96D61 #99E961 #61DDE9
square
#B161E9 #E96D61 #99E961 #61DDE9
split-complementary
#B161E9 #DDE961 #61E96D
monochromatic
#7619B6 #962BE2 #B161E9 #CC97F0 #E6CCF8

Accessibility & contrast

On white

3.65
#B161E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#B161E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161E9
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161E9#FFFFFF#000000##000000
##B161E91.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D83ED
Deuteranopia (green-blind)
#4F87E6
Tritanopia (blue-blind)
#A97B9C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b161e9;
/* rgb */ color: rgb(177, 97, 233);
/* oklch */ color: oklch(64.3% 0.204 308.9);
Tailwind
colors: {
  custom: {
    50: '#cc91f1',
    500: '#b161e9',
    950: '#000000',
  },
}
SCSS
$custom: #b161e9;
$custom-light: #cc91f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b161e9",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 233
  },
  "hsl": {
    "h": 275.294,
    "s": 75.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64331,
    "c": 0.20389,
    "h": 308.9
  },
  "luminance": 0.2378
}

Semantic roles & 50–950 ramp

primary
#B161E9
secondary
#CFEABC
accent
#D80E61
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B161E9

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

Preview Lab → · Contrast checker → · Palette generator →

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