#B168DF#B168DF

#B168DF is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.7% C 0.183 H 310.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B168DF
RGBrgb(177, 104, 223)
HSLhsl(277, 65%, 64%)
HSVhsv(277, 53%, 87%)
CMYKcmyk(20.6%, 53.4%, 0%, 12.5%)
CIE-LABlab(56.66, 49.90, -49.47)
CIE-LCHlch(56.66, 70.27, 315.25°)
OKLaboklab(64.73% 0.1188 -0.1386)
OKLCHoklch(64.73% 0.183 310.6)
XYZxyz(36.3986, 24.5762, 72.6240)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B168DF #96DF68
analogous
#7668DF #B168DF #DF68D1
triadic
#B168DF #DFB168 #68DFB1
tetradic
#B168DF #DF7668 #96DF68 #68D1DF
square
#B168DF #DF7668 #96DF68 #68D1DF
split-complementary
#B168DF #D1DF68 #68DF76
monochromatic
#7524A9 #9736D4 #B168DF #CB9BEA #E5CDF4

Accessibility & contrast

On white

3.55
#B168DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#B168DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B168DF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B168DF#FFFFFF#000000##000000
##B168DF1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4684E3
Deuteranopia (green-blind)
#5E89DC
Tritanopia (blue-blind)
#AB7C9A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b168df;
/* rgb */ color: rgb(177, 104, 223);
/* oklch */ color: oklch(64.7% 0.183 310.6);
Tailwind
colors: {
  custom: {
    50: '#cb96e9',
    500: '#b168df',
    950: '#000000',
  },
}
SCSS
$custom: #b168df;
$custom-light: #cb96e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b168df",
  "rgb": {
    "r": 177,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 276.807,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64734,
    "c": 0.18254,
    "h": 310.6
  },
  "luminance": 0.24575
}

Semantic roles & 50–950 ramp

primary
#B168DF
secondary
#CDE6BD
accent
#CD195E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B168DF

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

Preview Lab → · Contrast checker → · Palette generator →

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