#B168C8#B168C8

#B168C8 is a light, vivid purple. Relative luminance 0.234; OKLCH L 63.5% C 0.157 H 317.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B168C8
RGBrgb(177, 104, 200)
HSLhsl(286, 47%, 60%)
HSVhsv(286, 48%, 78%)
CMYKcmyk(11.5%, 48%, 0%, 21.6%)
CIE-LABlab(55.50, 45.01, -38.28)
CIE-LCHlch(55.50, 59.09, 319.62°)
OKLaboklab(63.5% 0.1164 -0.1061)
OKLCHoklch(63.5% 0.157 317.7)
XYZxyz(33.5056, 23.4190, 57.3877)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B168C8 #7FC868
analogous
#8168C8 #B168C8 #C868AF
triadic
#B168C8 #C8B168 #68C8B1
tetradic
#B168C8 #C88168 #7FC868 #68AFC8
square
#B168C8 #C88168 #7FC868 #68AFC8
split-complementary
#B168C8 #AFC868 #68C881
monochromatic
#713085 #9741B2 #B168C8 #C895D8 #DFC2E9

Accessibility & contrast

On white

3.69
#B168C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#B168C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B168C8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B168C8#FFFFFF#000000##000000
##B168C81.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CB
Deuteranopia (green-blind)
#6C87C5
Tritanopia (blue-blind)
#B1768F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b168c8;
/* rgb */ color: rgb(177, 104, 200);
/* oklch */ color: oklch(63.5% 0.157 317.7);
Tailwind
colors: {
  custom: {
    50: '#ca95d9',
    500: '#b168c8',
    950: '#000000',
  },
}
SCSS
$custom: #b168c8;
$custom-light: #ca95d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b168c8",
  "rgb": {
    "r": 177,
    "g": 104,
    "b": 200
  },
  "hsl": {
    "h": 285.625,
    "s": 46.602,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63499,
    "c": 0.15748,
    "h": 317.7
  },
  "luminance": 0.23418
}

Semantic roles & 50–950 ramp

primary
#B168C8
secondary
#BCD9B3
accent
#D65271
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#130D14
muted
#827E83

Preview Lab

Preview with #B168C8

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

Preview Lab → · Contrast checker → · Palette generator →

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