#B161DD#B161DD

#B161DD is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.6% C 0.191 H 312.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B161DD
RGBrgb(177, 97, 221)
HSLhsl(279, 65%, 62%)
HSVhsv(279, 56%, 87%)
CMYKcmyk(19.9%, 56.1%, 0%, 13.3%)
CIE-LABlab(55.19, 53.06, -50.67)
CIE-LCHlch(55.19, 73.37, 316.32°)
OKLaboklab(63.62% 0.1278 -0.1421)
OKLCHoklch(63.62% 0.191 312)
XYZxyz(35.4550, 23.1178, 70.9871)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161DD #8DDD61
analogous
#7361DD #B161DD #DD61CB
triadic
#B161DD #DDB161 #61DDB1
tetradic
#B161DD #DD7361 #8DDD61 #61CBDD
square
#B161DD #DD7361 #8DDD61 #61CBDD
split-complementary
#B161DD #CBDD61 #61DD73
monochromatic
#7423A1 #982FD2 #B161DD #CA93E8 #E3C6F3

Accessibility & contrast

On white

3.73
#B161DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#B161DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161DD
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161DD#FFFFFF#000000##000000
##B161DD1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C80E1
Deuteranopia (green-blind)
#5986DA
Tritanopia (blue-blind)
#AC7796
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b161dd;
/* rgb */ color: rgb(177, 97, 221);
/* oklch */ color: oklch(63.6% 0.191 312.0);
Tailwind
colors: {
  custom: {
    50: '#cb91e8',
    500: '#b161dd',
    950: '#000000',
  },
}
SCSS
$custom: #b161dd;
$custom-light: #cb91e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b161dd",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 221
  },
  "hsl": {
    "h": 278.71,
    "s": 64.583,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63621,
    "c": 0.19107,
    "h": 312
  },
  "luminance": 0.23117
}

Semantic roles & 50–950 ramp

primary
#B161DD
secondary
#C6E4B6
accent
#CC1959
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B161DD

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

Preview Lab → · Contrast checker → · Palette generator →

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