#B161E8#B161E8

#B161E8 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.3% C 0.203 H 309.2°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B161E8
RGBrgb(177, 97, 232)
HSLhsl(276, 75%, 65%)
HSVhsv(276, 58%, 91%)
CMYKcmyk(23.7%, 58.2%, 0%, 9%)
CIE-LABlab(55.81, 55.46, -55.88)
CIE-LCHlch(55.81, 78.72, 314.78°)
OKLaboklab(64.27% 0.1281 -0.1573)
OKLCHoklch(64.27% 0.203 309.2)
XYZxyz(36.9688, 23.7233, 78.9598)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161E8 #98E861
analogous
#6E61E8 #B161E8 #E861DB
triadic
#B161E8 #E8B161 #61E8B1
tetradic
#B161E8 #E86E61 #98E861 #61DBE8
square
#B161E8 #E86E61 #98E861 #61DBE8
split-complementary
#B161E8 #DBE861 #61E86E
monochromatic
#761AB4 #972CE0 #B161E8 #CB96F0 #E6CCF8

Accessibility & contrast

On white

3.66
#B161E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#B161E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161E8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161E8#FFFFFF#000000##000000
##B161E81.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E82EC
Deuteranopia (green-blind)
#5087E5
Tritanopia (blue-blind)
#A97A9B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b161e8;
/* rgb */ color: rgb(177, 97, 232);
/* oklch */ color: oklch(64.3% 0.203 309.2);
Tailwind
colors: {
  custom: {
    50: '#cc91f0',
    500: '#b161e8',
    950: '#000000',
  },
}
SCSS
$custom: #b161e8;
$custom-light: #cc91f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b161e8",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 232
  },
  "hsl": {
    "h": 275.556,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6427,
    "c": 0.20281,
    "h": 309.2
  },
  "luminance": 0.23723
}

Semantic roles & 50–950 ramp

primary
#B161E8
secondary
#CEEABB
accent
#D70F60
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B161E8

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

Preview Lab → · Contrast checker → · Palette generator →

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