#B161CD#B161CD

#B161CD is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.7% C 0.174 H 316.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B161CD
RGBrgb(177, 97, 205)
HSLhsl(284, 52%, 59%)
HSVhsv(284, 53%, 80%)
CMYKcmyk(13.7%, 52.7%, 0%, 19.6%)
CIE-LABlab(54.35, 49.69, -42.94)
CIE-LCHlch(54.35, 65.67, 319.17°)
OKLaboklab(62.73% 0.1267 -0.1195)
OKLCHoklch(62.73% 0.174 316.7)
XYZxyz(33.4240, 22.3054, 60.2905)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161CD #7DCD61
analogous
#7B61CD #B161CD #CD61B3
triadic
#B161CD #CDB161 #61CDB1
tetradic
#B161CD #CD7B61 #7DCD61 #61B3CD
square
#B161CD #CD7B61 #7DCD61 #61B3CD
split-complementary
#B161CD #B3CD61 #61CD7B
monochromatic
#702B88 #973AB7 #B161CD #C88FDC #DFBEEA

Accessibility & contrast

On white

3.85
#B161CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#B161CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161CD
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161CD#FFFFFF#000000##000000
##B161CD1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD1
Deuteranopia (green-blind)
#6384CA
Tritanopia (blue-blind)
#B0728E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b161cd;
/* rgb */ color: rgb(177, 97, 205);
/* oklch */ color: oklch(62.7% 0.174 316.7);
Tailwind
colors: {
  custom: {
    50: '#cb91dd',
    500: '#b161cd',
    950: '#000000',
  },
}
SCSS
$custom: #b161cd;
$custom-light: #cb91dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b161cd",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 284.444,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62727,
    "c": 0.17417,
    "h": 316.7
  },
  "luminance": 0.22304
}

Semantic roles & 50–950 ramp

primary
#B161CD
secondary
#BBDAB0
accent
#DB4C71
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B161CD

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

Preview Lab → · Contrast checker → · Palette generator →

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