#B168DA#B168DA

#B168DA is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.5% C 0.177 H 312.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B168DA
RGBrgb(177, 104, 218)
HSLhsl(278, 61%, 63%)
HSVhsv(278, 52%, 85%)
CMYKcmyk(18.8%, 52.3%, 0%, 14.5%)
CIE-LABlab(56.40, 48.81, -47.07)
CIE-LCHlch(56.40, 67.81, 316.04°)
OKLaboklab(64.45% 0.1184 -0.1316)
OKLCHoklch(64.45% 0.177 312)
XYZxyz(35.7344, 24.3105, 69.1260)
Luminance0.2431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B168DA #91DA68
analogous
#7868DA #B168DA #DA68CA
triadic
#B168DA #DAB168 #68DAB1
tetradic
#B168DA #DA7868 #91DA68 #68CADA
square
#B168DA #DA7868 #91DA68 #68CADA
split-complementary
#B168DA #CADA68 #68DA78
monochromatic
#7527A0 #9837CE #B168DA #CA99E6 #E4CAF2

Accessibility & contrast

On white

3.58
#B168DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#B168DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B168DA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B168DA#FFFFFF#000000##000000
##B168DA1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A83DE
Deuteranopia (green-blind)
#6189D7
Tritanopia (blue-blind)
#AD7B97
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b168da;
/* rgb */ color: rgb(177, 104, 218);
/* oklch */ color: oklch(64.5% 0.177 312.0);
Tailwind
colors: {
  custom: {
    50: '#cb96e6',
    500: '#b168da',
    950: '#000000',
  },
}
SCSS
$custom: #b168da;
$custom-light: #cb96e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b168da",
  "rgb": {
    "r": 177,
    "g": 104,
    "b": 218
  },
  "hsl": {
    "h": 278.421,
    "s": 60.638,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64454,
    "c": 0.17704,
    "h": 312
  },
  "luminance": 0.2431
}

Semantic roles & 50–950 ramp

primary
#B168DA
secondary
#C9E3BA
accent
#C81D5B
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B168DA

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

Preview Lab → · Contrast checker → · Palette generator →

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