#B168BF#B168BF

#B168BF is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.1% C 0.148 H 321.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B168BF
RGBrgb(177, 104, 191)
HSLhsl(290, 40%, 58%)
HSVhsv(290, 46%, 75%)
CMYKcmyk(7.3%, 45.5%, 0%, 25.1%)
CIE-LABlab(55.08, 43.19, -33.78)
CIE-LCHlch(55.08, 54.83, 321.97°)
OKLaboklab(63.05% 0.115 -0.0931)
OKLCHoklch(63.05% 0.148 321)
XYZxyz(32.4846, 23.0106, 52.0104)
Luminance0.2301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B168BF #76BF68
analogous
#8568BF #B168BF #BF68A1
triadic
#B168BF #BFB168 #68BFB1
tetradic
#B168BF #BF8568 #76BF68 #68A1BF
square
#B168BF #BF8568 #76BF68 #68A1BF
split-complementary
#B168BF #A1BF68 #68BF85
monochromatic
#6E3379 #9546A4 #B168BF #C793D1 #DDBEE3

Accessibility & contrast

On white

3.75
#B168BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#B168BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B168BF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B168BF#FFFFFF#000000##000000
##B168BF1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7FC2
Deuteranopia (green-blind)
#7087BC
Tritanopia (blue-blind)
#B3738A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b168bf;
/* rgb */ color: rgb(177, 104, 191);
/* oklch */ color: oklch(63.1% 0.148 321.0);
Tailwind
colors: {
  custom: {
    50: '#ca95d2',
    500: '#b168bf',
    950: '#000000',
  },
}
SCSS
$custom: #b168bf;
$custom-light: #ca95d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b168bf",
  "rgb": {
    "r": 177,
    "g": 104,
    "b": 191
  },
  "hsl": {
    "h": 290.345,
    "s": 40.465,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63051,
    "c": 0.14796,
    "h": 321
  },
  "luminance": 0.23009
}

Semantic roles & 50–950 ramp

primary
#B168BF
secondary
#B6D3B0
accent
#D0576B
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B168BF

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

Preview Lab → · Contrast checker → · Palette generator →

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