#B161DB#B161DB

#B161DB is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.5% C 0.189 H 312.5°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B161DB
RGBrgb(177, 97, 219)
HSLhsl(279, 63%, 62%)
HSVhsv(279, 56%, 86%)
CMYKcmyk(19.2%, 55.7%, 0%, 14.1%)
CIE-LABlab(55.08, 52.63, -49.72)
CIE-LCHlch(55.08, 72.40, 316.63°)
OKLaboklab(63.51% 0.1277 -0.1393)
OKLCHoklch(63.51% 0.189 312.5)
XYZxyz(35.1901, 23.0118, 69.5921)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161DB #8BDB61
analogous
#7461DB #B161DB #DB61C8
triadic
#B161DB #DBB161 #61DBB1
tetradic
#B161DB #DB7461 #8BDB61 #61C8DB
square
#B161DB #DB7461 #8BDB61 #61C8DB
split-complementary
#B161DB #C8DB61 #61DB74
monochromatic
#74249E #982FD0 #B161DB #CA93E6 #E2C5F2

Accessibility & contrast

On white

3.75
#B161DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#B161DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161DB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161DB#FFFFFF#000000##000000
##B161DB1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80DF
Deuteranopia (green-blind)
#5A86D8
Tritanopia (blue-blind)
#AD7695
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b161db;
/* rgb */ color: rgb(177, 97, 219);
/* oklch */ color: oklch(63.5% 0.189 312.5);
Tailwind
colors: {
  custom: {
    50: '#cb91e7',
    500: '#b161db',
    950: '#000000',
  },
}
SCSS
$custom: #b161db;
$custom-light: #cb91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b161db",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 219
  },
  "hsl": {
    "h": 279.344,
    "s": 62.887,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63506,
    "c": 0.18895,
    "h": 312.5
  },
  "luminance": 0.23011
}

Semantic roles & 50–950 ramp

primary
#B161DB
secondary
#C5E2B5
accent
#CB1B57
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B161DB

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

Preview Lab → · Contrast checker → · Palette generator →

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