#B178DE#B178DE

#B178DE is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.2% C 0.156 H 308.5°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B178DE
RGBrgb(177, 120, 222)
HSLhsl(274, 61%, 67%)
HSVhsv(274, 46%, 87%)
CMYKcmyk(20.3%, 45.9%, 0%, 12.9%)
CIE-LABlab(59.94, 41.12, -43.72)
CIE-LCHlch(59.94, 60.02, 313.24°)
OKLaboklab(67.15% 0.0971 -0.1219)
OKLCHoklch(67.15% 0.156 308.5)
XYZxyz(38.0302, 28.0545, 72.5047)
Luminance0.2805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178DE #A5DE78
analogous
#7E78DE #B178DE #DE78D8
triadic
#B178DE #DEB178 #78DEB1
tetradic
#B178DE #DE7E78 #A5DE78 #78D8DE
square
#B178DE #DE7E78 #A5DE78 #78D8DE
split-complementary
#B178DE #D8DE78 #78DE7E
monochromatic
#762BB0 #9547D2 #B178DE #CDA9EA #EADAF6

Accessibility & contrast

On white

3.18
#B178DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#B178DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178DE
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178DE#FFFFFF#000000##000000
##B178DE1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8EE2
Deuteranopia (green-blind)
#6E91DB
Tritanopia (blue-blind)
#AB88A0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b178de;
/* rgb */ color: rgb(177, 120, 222);
/* oklch */ color: oklch(67.2% 0.156 308.5);
Tailwind
colors: {
  custom: {
    50: '#caa0e8',
    500: '#b178de',
    950: '#000000',
  },
}
SCSS
$custom: #b178de;
$custom-light: #caa0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b178de",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 222
  },
  "hsl": {
    "h": 273.529,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6715,
    "c": 0.15586,
    "h": 308.5
  },
  "luminance": 0.28054
}

Semantic roles & 50–950 ramp

primary
#B178DE
secondary
#D7E9C9
accent
#C81D69
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #B178DE

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

Preview Lab → · Contrast checker → · Palette generator →

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