#B161DE#B161DE

#B161DE is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.7% C 0.192 H 311.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B161DE
RGBrgb(177, 97, 222)
HSLhsl(278, 65%, 63%)
HSVhsv(278, 56%, 87%)
CMYKcmyk(20.3%, 56.3%, 0%, 12.9%)
CIE-LABlab(55.25, 53.28, -51.15)
CIE-LCHlch(55.25, 73.86, 316.17°)
OKLaboklab(63.68% 0.1278 -0.1435)
OKLCHoklch(63.68% 0.192 311.7)
XYZxyz(35.5886, 23.1712, 71.6908)
Luminance0.2317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161DE #8EDE61
analogous
#7261DE #B161DE #DE61CC
triadic
#B161DE #DEB161 #61DEB1
tetradic
#B161DE #DE7261 #8EDE61 #61CCDE
square
#B161DE #DE7261 #8EDE61 #61CCDE
split-complementary
#B161DE #CCDE61 #61DE72
monochromatic
#7422A3 #982ED3 #B161DE #CA94E9 #E3C6F3

Accessibility & contrast

On white

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

On black

5.63
#B161DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161DE
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161DE#FFFFFF#000000##000000
##B161DE1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B80E2
Deuteranopia (green-blind)
#5886DB
Tritanopia (blue-blind)
#AC7796
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b161de;
/* rgb */ color: rgb(177, 97, 222);
/* oklch */ color: oklch(63.7% 0.192 311.7);
Tailwind
colors: {
  custom: {
    50: '#cb91e9',
    500: '#b161de',
    950: '#000000',
  },
}
SCSS
$custom: #b161de;
$custom-light: #cb91e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b161de",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 222
  },
  "hsl": {
    "h": 278.4,
    "s": 65.445,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63679,
    "c": 0.19214,
    "h": 311.7
  },
  "luminance": 0.2317
}

Semantic roles & 50–950 ramp

primary
#B161DE
secondary
#C7E4B7
accent
#CD1859
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B161DE

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

Preview Lab → · Contrast checker → · Palette generator →

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