#B168BB#B168BB

#B168BB is a light, vivid purple. Relative luminance 0.228; OKLCH L 62.9% C 0.144 H 322.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B168BB
RGBrgb(177, 104, 187)
HSLhsl(293, 38%, 57%)
HSVhsv(293, 44%, 73%)
CMYKcmyk(5.3%, 44.4%, 0%, 26.7%)
CIE-LABlab(54.90, 42.40, -31.77)
CIE-LCHlch(54.90, 52.98, 323.16°)
OKLaboklab(62.86% 0.1143 -0.0873)
OKLCHoklch(62.86% 0.144 322.6)
XYZxyz(32.0505, 22.8369, 49.7238)
Luminance0.2284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B168BB #72BB68
analogous
#8868BB #B168BB #BB689C
triadic
#B168BB #BBB168 #68BBB1
tetradic
#B168BB #BB8868 #72BB68 #689CBB
square
#B168BB #BB8868 #72BB68 #689CBB
split-complementary
#B168BB #9CBB68 #68BB88
monochromatic
#6D3474 #94479E #B168BB #C792CE #DDBCE1

Accessibility & contrast

On white

3.77
#B168BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#B168BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B168BB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B168BB#FFFFFF#000000##000000
##B168BB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBE
Deuteranopia (green-blind)
#7286B8
Tritanopia (blue-blind)
#B37289
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b168bb;
/* rgb */ color: rgb(177, 104, 187);
/* oklch */ color: oklch(62.9% 0.144 322.6);
Tailwind
colors: {
  custom: {
    50: '#ca95cf',
    500: '#b168bb',
    950: '#000000',
  },
}
SCSS
$custom: #b168bb;
$custom-light: #ca95cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b168bb",
  "rgb": {
    "r": 177,
    "g": 104,
    "b": 187
  },
  "hsl": {
    "h": 292.771,
    "s": 37.9,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62859,
    "c": 0.14382,
    "h": 322.6
  },
  "luminance": 0.22836
}

Semantic roles & 50–950 ramp

primary
#B168BB
secondary
#B3D0AF
accent
#CE5A68
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B168BB

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

Preview Lab → · Contrast checker → · Palette generator →

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