#B168CF#B168CF

#B168CF is a light, vivid purple. Relative luminance 0.238; OKLCH L 63.9% C 0.165 H 315.3°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B168CF
RGBrgb(177, 104, 207)
HSLhsl(283, 52%, 61%)
HSVhsv(283, 50%, 81%)
CMYKcmyk(14.5%, 49.8%, 0%, 18.8%)
CIE-LABlab(55.84, 46.47, -41.73)
CIE-LCHlch(55.84, 62.45, 318.08°)
OKLaboklab(63.86% 0.1173 -0.116)
OKLCHoklch(63.86% 0.165 315.3)
XYZxyz(34.3425, 23.7537, 61.7952)
Luminance0.2375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B168CF #86CF68
analogous
#7D68CF #B168CF #CF68B9
triadic
#B168CF #CFB168 #68CFB1
tetradic
#B168CF #CF7D68 #86CF68 #68B9CF
square
#B168CF #CF7D68 #86CF68 #68B9CF
split-complementary
#B168CF #B9CF68 #68CF7D
monochromatic
#732D8F #983CBE #B168CF #C996DE #E1C5ED

Accessibility & contrast

On white

3.65
#B168CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#B168CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B168CF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B168CF#FFFFFF#000000##000000
##B168CF1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D3
Deuteranopia (green-blind)
#6888CC
Tritanopia (blue-blind)
#AF7892
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b168cf;
/* rgb */ color: rgb(177, 104, 207);
/* oklch */ color: oklch(63.9% 0.165 315.3);
Tailwind
colors: {
  custom: {
    50: '#ca95de',
    500: '#b168cf',
    950: '#000000',
  },
}
SCSS
$custom: #b168cf;
$custom-light: #ca95de;
$custom-dark: #000000;
JSON
{
  "hex": "#b168cf",
  "rgb": {
    "r": 177,
    "g": 104,
    "b": 207
  },
  "hsl": {
    "h": 282.524,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63861,
    "c": 0.16501,
    "h": 315.3
  },
  "luminance": 0.23753
}

Semantic roles & 50–950 ramp

primary
#B168CF
secondary
#C1DDB6
accent
#BF2653
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #B168CF

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

Preview Lab → · Contrast checker → · Palette generator →

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