#B167A5#B167A5

#B167A5 is a mid, vivid purple. Relative luminance 0.218; OKLCH L 61.7% C 0.124 H 333.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B167A5
RGBrgb(177, 103, 165)
HSLhsl(310, 32%, 55%)
HSVhsv(310, 42%, 69%)
CMYKcmyk(0%, 41.8%, 6.8%, 30.6%)
CIE-LABlab(53.78, 38.81, -20.78)
CIE-LCHlch(53.78, 44.02, 331.83°)
OKLaboklab(61.72% 0.1109 -0.0561)
OKLCHoklch(61.72% 0.124 333.1)
XYZxyz(29.7730, 21.7658, 38.2230)
Luminance0.2176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167A5 #67B173
analogous
#9867B1 #B167A5 #B16780
triadic
#B167A5 #A5B167 #67A5B1
tetradic
#B167A5 #B19867 #67B173 #6780B1
square
#B167A5 #B19867 #67B173 #6780B1
split-complementary
#B167A5 #80B167 #67B198
monochromatic
#683560 #914A85 #B167A5 #C68FBD #DBB8D5

Accessibility & contrast

On white

3.92
#B167A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#B167A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167A5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167A5#FFFFFF#000000##000000
##B167A51.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#667AA7
Deuteranopia (green-blind)
#7984A3
Tritanopia (blue-blind)
#B76B7E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b167a5;
/* rgb */ color: rgb(177, 103, 165);
/* oklch */ color: oklch(61.7% 0.124 333.1);
Tailwind
colors: {
  custom: {
    50: '#ca94bf',
    500: '#b167a5',
    950: '#000000',
  },
}
SCSS
$custom: #b167a5;
$custom-light: #ca94bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b167a5",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 165
  },
  "hsl": {
    "h": 309.73,
    "s": 32.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61715,
    "c": 0.1243,
    "h": 333.1
  },
  "luminance": 0.21764
}

Semantic roles & 50–950 ramp

primary
#B167A5
secondary
#AAC9AF
accent
#C8705F
background
#FCF9FB
surface
#F8F2F7
border
#D1CCD0
text
#130D12
muted
#827E81

Preview Lab

Preview with #B167A5

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

Preview Lab → · Contrast checker → · Palette generator →

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