#B178DB#B178DB

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

Color values

HEX#B178DB
RGBrgb(177, 120, 219)
HSLhsl(275, 58%, 66%)
HSVhsv(275, 45%, 86%)
CMYKcmyk(19.2%, 45.2%, 0%, 14.1%)
CIE-LABlab(59.79, 40.45, -42.27)
CIE-LCHlch(59.79, 58.51, 313.74°)
OKLaboklab(67% 0.0967 -0.1177)
OKLCHoklch(67% 0.152 309.4)
XYZxyz(37.6317, 27.8951, 70.4059)
Luminance0.2789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178DB #A2DB78
analogous
#8078DB #B178DB #DB78D4
triadic
#B178DB #DBB178 #78DBB1
tetradic
#B178DB #DB8078 #A2DB78 #78D4DB
square
#B178DB #DB8078 #A2DB78 #78D4DB
split-complementary
#B178DB #D4DB78 #78DB80
monochromatic
#762EAB #9548CE #B178DB #CDA8E8 #E9D9F5

Accessibility & contrast

On white

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

On black

6.58
#B178DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178DB
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178DB#FFFFFF#000000##000000
##B178DB1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#618DDF
Deuteranopia (green-blind)
#7091D8
Tritanopia (blue-blind)
#AC889F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b178db;
/* rgb */ color: rgb(177, 120, 219);
/* oklch */ color: oklch(67.0% 0.152 309.4);
Tailwind
colors: {
  custom: {
    50: '#caa0e6',
    500: '#b178db',
    950: '#000000',
  },
}
SCSS
$custom: #b178db;
$custom-light: #caa0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b178db",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 274.545,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66995,
    "c": 0.15231,
    "h": 309.4
  },
  "luminance": 0.27895
}

Semantic roles & 50–950 ramp

primary
#B178DB
secondary
#D5E7C7
accent
#C52066
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #B178DB

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

Preview Lab → · Contrast checker → · Palette generator →

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