#B168BD#B168BD

#B168BD is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.0% C 0.146 H 321.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B168BD
RGBrgb(177, 104, 189)
HSLhsl(292, 39%, 57%)
HSVhsv(292, 45%, 74%)
CMYKcmyk(6.3%, 45%, 0%, 25.9%)
CIE-LABlab(54.99, 42.79, -32.78)
CIE-LCHlch(54.99, 53.90, 322.55°)
OKLaboklab(62.96% 0.1146 -0.0902)
OKLCHoklch(62.96% 0.146 321.8)
XYZxyz(32.2661, 22.9231, 50.8592)
Luminance0.2292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B168BD #74BD68
analogous
#8668BD #B168BD #BD689F
triadic
#B168BD #BDB168 #68BDB1
tetradic
#B168BD #BD8668 #74BD68 #689FBD
square
#B168BD #BD8668 #74BD68 #689FBD
split-complementary
#B168BD #9FBD68 #68BD86
monochromatic
#6D3477 #9447A1 #B168BD #C793D0 #DDBDE2

Accessibility & contrast

On white

3.76
#B168BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#B168BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B168BD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B168BD#FFFFFF#000000##000000
##B168BD1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EC0
Deuteranopia (green-blind)
#7187BA
Tritanopia (blue-blind)
#B3728A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b168bd;
/* rgb */ color: rgb(177, 104, 189);
/* oklch */ color: oklch(63.0% 0.146 321.8);
Tailwind
colors: {
  custom: {
    50: '#ca95d1',
    500: '#b168bd',
    950: '#000000',
  },
}
SCSS
$custom: #b168bd;
$custom-light: #ca95d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b168bd",
  "rgb": {
    "r": 177,
    "g": 104,
    "b": 189
  },
  "hsl": {
    "h": 291.529,
    "s": 39.171,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62955,
    "c": 0.14588,
    "h": 321.8
  },
  "luminance": 0.22922
}

Semantic roles & 50–950 ramp

primary
#B168BD
secondary
#B4D2AF
accent
#CF5969
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B168BD

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

Preview Lab → · Contrast checker → · Palette generator →

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