#B167D2#B167D2

#B167D2 is a light, vivid purple. Relative luminance 0.237; OKLCH L 63.9% C 0.170 H 314.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B167D2
RGBrgb(177, 103, 210)
HSLhsl(281, 54%, 61%)
HSVhsv(281, 51%, 82%)
CMYKcmyk(15.7%, 51%, 0%, 17.6%)
CIE-LABlab(55.79, 47.62, -43.51)
CIE-LCHlch(55.79, 64.51, 317.59°)
OKLaboklab(63.87% 0.119 -0.1212)
OKLCHoklch(63.87% 0.17 314.5)
XYZxyz(34.6127, 23.7017, 63.7118)
Luminance0.2370 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167D2 #88D267
analogous
#7C67D2 #B167D2 #D267BE
triadic
#B167D2 #D2B167 #67D2B1
tetradic
#B167D2 #D27C67 #88D267 #67BED2
square
#B167D2 #D27C67 #88D267 #67BED2
split-complementary
#B167D2 #BED267 #67D27C
monochromatic
#732C93 #983AC2 #B167D2 #C996E0 #E1C5EE

Accessibility & contrast

On white

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

On black

5.74
#B167D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167D2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167D2#FFFFFF#000000##000000
##B167D21.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F81D6
Deuteranopia (green-blind)
#6588CF
Tritanopia (blue-blind)
#AF7893
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b167d2;
/* rgb */ color: rgb(177, 103, 210);
/* oklch */ color: oklch(63.9% 0.170 314.5);
Tailwind
colors: {
  custom: {
    50: '#ca95e0',
    500: '#b167d2',
    950: '#000000',
  },
}
SCSS
$custom: #b167d2;
$custom-light: #ca95e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b167d2",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 210
  },
  "hsl": {
    "h": 281.495,
    "s": 54.315,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63871,
    "c": 0.16989,
    "h": 314.5
  },
  "luminance": 0.23701
}

Semantic roles & 50–950 ramp

primary
#B167D2
secondary
#C3DEB6
accent
#C22454
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #B167D2

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

Preview Lab → · Contrast checker → · Palette generator →

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