#B168DB#B168DB

#B168DB is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.5% C 0.178 H 311.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B168DB
RGBrgb(177, 104, 219)
HSLhsl(278, 61%, 63%)
HSVhsv(278, 53%, 86%)
CMYKcmyk(19.2%, 52.5%, 0%, 14.1%)
CIE-LABlab(56.45, 49.03, -47.55)
CIE-LCHlch(56.45, 68.30, 315.88°)
OKLaboklab(64.51% 0.1185 -0.133)
OKLCHoklch(64.51% 0.178 311.7)
XYZxyz(35.8657, 24.3630, 69.8173)
Luminance0.2436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B168DB #92DB68
analogous
#7768DB #B168DB #DB68CB
triadic
#B168DB #DBB168 #68DBB1
tetradic
#B168DB #DB7768 #92DB68 #68CBDB
square
#B168DB #DB7768 #92DB68 #68CBDB
split-complementary
#B168DB #CBDB68 #68DB77
monochromatic
#7527A2 #9737CF #B168DB #CB99E7 #E4CBF3

Accessibility & contrast

On white

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

On black

5.87
#B168DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B168DB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B168DB#FFFFFF#000000##000000
##B168DB1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984DF
Deuteranopia (green-blind)
#6189D8
Tritanopia (blue-blind)
#AC7B98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b168db;
/* rgb */ color: rgb(177, 104, 219);
/* oklch */ color: oklch(64.5% 0.178 311.7);
Tailwind
colors: {
  custom: {
    50: '#cb96e7',
    500: '#b168db',
    950: '#000000',
  },
}
SCSS
$custom: #b168db;
$custom-light: #cb96e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b168db",
  "rgb": {
    "r": 177,
    "g": 104,
    "b": 219
  },
  "hsl": {
    "h": 278.087,
    "s": 61.497,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6451,
    "c": 0.17814,
    "h": 311.7
  },
  "luminance": 0.24362
}

Semantic roles & 50–950 ramp

primary
#B168DB
secondary
#CAE4BB
accent
#C91C5B
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B168DB

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

Preview Lab → · Contrast checker → · Palette generator →

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