#B161EB#B161EB

#B161EB is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.5% C 0.206 H 308.4°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B161EB
RGBrgb(177, 97, 235)
HSLhsl(275, 78%, 65%)
HSVhsv(275, 59%, 92%)
CMYKcmyk(24.7%, 58.7%, 0%, 7.8%)
CIE-LABlab(55.98, 56.12, -57.28)
CIE-LCHlch(55.98, 80.19, 314.41°)
OKLaboklab(64.45% 0.1281 -0.1614)
OKLCHoklch(64.45% 0.206 308.4)
XYZxyz(37.3986, 23.8952, 81.2232)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161EB #9BEB61
analogous
#6C61EB #B161EB #EB61E0
triadic
#B161EB #EBB161 #61EBB1
tetradic
#B161EB #EB6C61 #9BEB61 #61E0EB
square
#B161EB #EB6C61 #9BEB61 #61E0EB
split-complementary
#B161EB #E0EB61 #61EB6C
monochromatic
#7618BA #962BE4 #B161EB #CC97F2 #E7CEF9

Accessibility & contrast

On white

3.63
#B161EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#B161EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161EB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161EB#FFFFFF#000000##000000
##B161EB1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983EF
Deuteranopia (green-blind)
#4D87E8
Tritanopia (blue-blind)
#A97B9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b161eb;
/* rgb */ color: rgb(177, 97, 235);
/* oklch */ color: oklch(64.5% 0.206 308.4);
Tailwind
colors: {
  custom: {
    50: '#cc91f2',
    500: '#b161eb',
    950: '#000000',
  },
}
SCSS
$custom: #b161eb;
$custom-light: #cc91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b161eb",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 274.783,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64452,
    "c": 0.20603,
    "h": 308.4
  },
  "luminance": 0.23895
}

Semantic roles & 50–950 ramp

primary
#B161EB
secondary
#D0EBBD
accent
#DA0C62
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B161EB

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

Preview Lab → · Contrast checker → · Palette generator →

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