#B161E7#B161E7

#B161E7 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.2% C 0.202 H 309.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B161E7
RGBrgb(177, 97, 231)
HSLhsl(276, 74%, 64%)
HSVhsv(276, 58%, 91%)
CMYKcmyk(23.4%, 58%, 0%, 9.4%)
CIE-LABlab(55.75, 55.24, -55.41)
CIE-LCHlch(55.75, 78.24, 314.91°)
OKLaboklab(64.21% 0.128 -0.1559)
OKLCHoklch(64.21% 0.202 309.4)
XYZxyz(36.8272, 23.6667, 78.2139)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161E7 #97E761
analogous
#6E61E7 #B161E7 #E761DA
triadic
#B161E7 #E7B161 #61E7B1
tetradic
#B161E7 #E76E61 #97E761 #61DAE7
square
#B161E7 #E76E61 #97E761 #61DAE7
split-complementary
#B161E7 #DAE761 #61E76E
monochromatic
#751BB2 #972CDF #B161E7 #CB96EF #E5CBF7

Accessibility & contrast

On white

3.66
#B161E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#B161E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161E7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161E7#FFFFFF#000000##000000
##B161E71.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3082EB
Deuteranopia (green-blind)
#5187E4
Tritanopia (blue-blind)
#AA7A9B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b161e7;
/* rgb */ color: rgb(177, 97, 231);
/* oklch */ color: oklch(64.2% 0.202 309.4);
Tailwind
colors: {
  custom: {
    50: '#cc91ef',
    500: '#b161e7',
    950: '#000000',
  },
}
SCSS
$custom: #b161e7;
$custom-light: #cc91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b161e7",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 231
  },
  "hsl": {
    "h": 275.821,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6421,
    "c": 0.20174,
    "h": 309.4
  },
  "luminance": 0.23666
}

Semantic roles & 50–950 ramp

primary
#B161E7
secondary
#CDE9BB
accent
#D61060
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B161E7

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

Preview Lab → · Contrast checker → · Palette generator →

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