#B161ED#B161ED

#B161ED is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.6% C 0.208 H 308.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B161ED
RGBrgb(177, 97, 237)
HSLhsl(274, 80%, 65%)
HSVhsv(274, 59%, 93%)
CMYKcmyk(25.3%, 59.1%, 0%, 7.1%)
CIE-LABlab(56.10, 56.56, -58.21)
CIE-LCHlch(56.10, 81.16, 314.18°)
OKLaboklab(64.58% 0.1281 -0.1641)
OKLCHoklch(64.58% 0.208 308)
XYZxyz(37.6891, 24.0114, 82.7535)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161ED #9DED61
analogous
#6B61ED #B161ED #ED61E3
triadic
#B161ED #EDB161 #61EDB1
tetradic
#B161ED #ED6B61 #9DED61 #61E3ED
square
#B161ED #ED6B61 #9DED61 #61E3ED
split-complementary
#B161ED #E3ED61 #61ED6B
monochromatic
#7616BE #962AE7 #B161ED #CC98F3 #E7CFFA

Accessibility & contrast

On white

3.62
#B161ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#B161ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161ED
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161ED#FFFFFF#000000##000000
##B161ED1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2683F1
Deuteranopia (green-blind)
#4C87EA
Tritanopia (blue-blind)
#A87C9E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b161ed;
/* rgb */ color: rgb(177, 97, 237);
/* oklch */ color: oklch(64.6% 0.208 308.0);
Tailwind
colors: {
  custom: {
    50: '#cc91f3',
    500: '#b161ed',
    950: '#000000',
  },
}
SCSS
$custom: #b161ed;
$custom-light: #cc91f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b161ed",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 237
  },
  "hsl": {
    "h": 274.286,
    "s": 79.545,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64575,
    "c": 0.20816,
    "h": 308
  },
  "luminance": 0.24011
}

Semantic roles & 50–950 ramp

primary
#B161ED
secondary
#D2ECBD
accent
#DC0A64
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B161ED

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

Preview Lab → · Contrast checker → · Palette generator →

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