#B161DF#B161DF

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

Color values

HEX#B161DF
RGBrgb(177, 97, 223)
HSLhsl(278, 66%, 63%)
HSVhsv(278, 57%, 87%)
CMYKcmyk(20.6%, 56.5%, 0%, 12.5%)
CIE-LABlab(55.30, 53.49, -51.63)
CIE-LCHlch(55.30, 74.34, 316.02°)
OKLaboklab(63.74% 0.1279 -0.1448)
OKLCHoklch(63.74% 0.193 311.4)
XYZxyz(35.7230, 23.2250, 72.3988)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161DF #8FDF61
analogous
#7261DF #B161DF #DF61CE
triadic
#B161DF #DFB161 #61DFB1
tetradic
#B161DF #DF7261 #8FDF61 #61CEDF
square
#B161DF #DF7261 #8FDF61 #61CEDF
split-complementary
#B161DF #CEDF61 #61DF72
monochromatic
#7421A4 #982ED5 #B161DF #CA94E9 #E3C7F4

Accessibility & contrast

On white

3.72
#B161DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#B161DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161DF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161DF#FFFFFF#000000##000000
##B161DF1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3980E3
Deuteranopia (green-blind)
#5786DC
Tritanopia (blue-blind)
#AC7797
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b161df;
/* rgb */ color: rgb(177, 97, 223);
/* oklch */ color: oklch(63.7% 0.193 311.4);
Tailwind
colors: {
  custom: {
    50: '#cb91e9',
    500: '#b161df',
    950: '#000000',
  },
}
SCSS
$custom: #b161df;
$custom-light: #cb91e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b161df",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 223
  },
  "hsl": {
    "h": 278.095,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63737,
    "c": 0.1932,
    "h": 311.4
  },
  "luminance": 0.23224
}

Semantic roles & 50–950 ramp

primary
#B161DF
secondary
#C8E5B7
accent
#CE175A
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B161DF

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

Preview Lab → · Contrast checker → · Palette generator →

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