#B167BC#B167BC

#B167BC is a light, vivid purple. Relative luminance 0.227; OKLCH L 62.8% C 0.147 H 322.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B167BC
RGBrgb(177, 103, 188)
HSLhsl(292, 39%, 57%)
HSVhsv(292, 45%, 74%)
CMYKcmyk(5.9%, 45.2%, 0%, 26.3%)
CIE-LABlab(54.74, 43.13, -32.60)
CIE-LCHlch(54.74, 54.06, 322.92°)
OKLaboklab(62.75% 0.1159 -0.0897)
OKLCHoklch(62.75% 0.147 322.3)
XYZxyz(32.0578, 22.6797, 50.2562)
Luminance0.2268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167BC #72BC67
analogous
#8767BC #B167BC #BC679D
triadic
#B167BC #BCB167 #67BCB1
tetradic
#B167BC #BC8767 #72BC67 #679DBC
square
#B167BC #BC8767 #72BC67 #679DBC
split-complementary
#B167BC #9DBC67 #67BC87
monochromatic
#6D3475 #94469F #B167BC #C791CF #DDBCE1

Accessibility & contrast

On white

3.79
#B167BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#B167BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167BC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167BC#FFFFFF#000000##000000
##B167BC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7EBF
Deuteranopia (green-blind)
#7186B9
Tritanopia (blue-blind)
#B37189
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b167bc;
/* rgb */ color: rgb(177, 103, 188);
/* oklch */ color: oklch(62.8% 0.147 322.3);
Tailwind
colors: {
  custom: {
    50: '#ca94d0',
    500: '#b167bc',
    950: '#000000',
  },
}
SCSS
$custom: #b167bc;
$custom-light: #ca94d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b167bc",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 188
  },
  "hsl": {
    "h": 292.235,
    "s": 38.813,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62752,
    "c": 0.14656,
    "h": 322.3
  },
  "luminance": 0.22678
}

Semantic roles & 50–950 ramp

primary
#B167BC
secondary
#B3D1AE
accent
#CF5968
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B167BC

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

Preview Lab → · Contrast checker → · Palette generator →

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