#B178DC#B178DC

#B178DC is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.0% C 0.153 H 309.1°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#B178DC
RGBrgb(177, 120, 220)
HSLhsl(274, 59%, 67%)
HSVhsv(274, 45%, 86%)
CMYKcmyk(19.5%, 45.5%, 0%, 13.7%)
CIE-LABlab(59.84, 40.67, -42.75)
CIE-LCHlch(59.84, 59.01, 313.57°)
OKLaboklab(67.05% 0.0968 -0.1191)
OKLCHoklch(67.05% 0.153 309.1)
XYZxyz(37.7638, 27.9479, 71.1013)
Luminance0.2795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178DC #A3DC78
analogous
#7F78DC #B178DC #DC78D5
triadic
#B178DC #DCB178 #78DCB1
tetradic
#B178DC #DC7F78 #A3DC78 #78D5DC
square
#B178DC #DC7F78 #A3DC78 #78D5DC
split-complementary
#B178DC #D5DC78 #78DC7F
monochromatic
#762DAD #9547CF #B178DC #CDA9E9 #E9D9F5

Accessibility & contrast

On white

3.19
#B178DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#B178DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178DC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178DC#FFFFFF#000000##000000
##B178DC1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#608EE0
Deuteranopia (green-blind)
#6F91D9
Tritanopia (blue-blind)
#AB88A0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b178dc;
/* rgb */ color: rgb(177, 120, 220);
/* oklch */ color: oklch(67.0% 0.153 309.1);
Tailwind
colors: {
  custom: {
    50: '#caa0e7',
    500: '#b178dc',
    950: '#000000',
  },
}
SCSS
$custom: #b178dc;
$custom-light: #caa0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b178dc",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 274.2,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67046,
    "c": 0.15349,
    "h": 309.1
  },
  "luminance": 0.27947
}

Semantic roles & 50–950 ramp

primary
#B178DC
secondary
#D6E8C8
accent
#C61F67
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #B178DC

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

Preview Lab → · Contrast checker → · Palette generator →

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