#B168CB#B168CB

#B168CB is a light, vivid purple. Relative luminance 0.236; OKLCH L 63.7% C 0.161 H 316.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B168CB
RGBrgb(177, 104, 203)
HSLhsl(284, 49%, 60%)
HSVhsv(284, 49%, 80%)
CMYKcmyk(12.8%, 48.8%, 0%, 20.4%)
CIE-LABlab(55.65, 45.63, -39.76)
CIE-LCHlch(55.65, 60.52, 318.93°)
OKLaboklab(63.65% 0.1168 -0.1104)
OKLCHoklch(63.65% 0.161 316.6)
XYZxyz(33.8597, 23.5606, 59.2524)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B168CB #82CB68
analogous
#7F68CB #B168CB #CB68B4
triadic
#B168CB #CBB168 #68CBB1
tetradic
#B168CB #CB7F68 #82CB68 #68B4CB
square
#B168CB #CB7F68 #82CB68 #68B4CB
split-complementary
#B168CB #B4CB68 #68CB7F
monochromatic
#722F89 #973FB7 #B168CB #C996DB #E0C3EA

Accessibility & contrast

On white

3.68
#B168CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#B168CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B168CB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B168CB#FFFFFF#000000##000000
##B168CB1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CE
Deuteranopia (green-blind)
#6A88C8
Tritanopia (blue-blind)
#B07690
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b168cb;
/* rgb */ color: rgb(177, 104, 203);
/* oklch */ color: oklch(63.7% 0.161 316.6);
Tailwind
colors: {
  custom: {
    50: '#ca95db',
    500: '#b168cb',
    950: '#000000',
  },
}
SCSS
$custom: #b168cb;
$custom-light: #ca95db;
$custom-dark: #000000;
JSON
{
  "hex": "#b168cb",
  "rgb": {
    "r": 177,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 284.242,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63653,
    "c": 0.1607,
    "h": 316.6
  },
  "luminance": 0.2356
}

Semantic roles & 50–950 ramp

primary
#B168CB
secondary
#BEDAB4
accent
#BC2950
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #B168CB

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

Preview Lab → · Contrast checker → · Palette generator →

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