#B178DA#B178DA

#B178DA is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.9% C 0.151 H 309.7°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#B178DA
RGBrgb(177, 120, 218)
HSLhsl(275, 57%, 66%)
HSVhsv(275, 45%, 85%)
CMYKcmyk(18.8%, 45%, 0%, 14.5%)
CIE-LABlab(59.75, 40.23, -41.78)
CIE-LCHlch(59.75, 58.00, 313.91°)
OKLaboklab(66.94% 0.0965 -0.1163)
OKLCHoklch(66.94% 0.151 309.7)
XYZxyz(37.5005, 27.8426, 69.7147)
Luminance0.2784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178DA #A1DA78
analogous
#8078DA #B178DA #DA78D2
triadic
#B178DA #DAB178 #78DAB1
tetradic
#B178DA #DA8078 #A1DA78 #78D2DA
square
#B178DA #DA8078 #A1DA78 #78D2DA
split-complementary
#B178DA #D2DA78 #78DA80
monochromatic
#762EA9 #9548CD #B178DA #CDA8E7 #E9D8F4

Accessibility & contrast

On white

3.20
#B178DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#B178DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178DA
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178DA#FFFFFF#000000##000000
##B178DA1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#628DDE
Deuteranopia (green-blind)
#7091D7
Tritanopia (blue-blind)
#AC879F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b178da;
/* rgb */ color: rgb(177, 120, 218);
/* oklch */ color: oklch(66.9% 0.151 309.7);
Tailwind
colors: {
  custom: {
    50: '#caa0e6',
    500: '#b178da',
    950: '#000000',
  },
}
SCSS
$custom: #b178da;
$custom-light: #caa0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b178da",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 274.898,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66944,
    "c": 0.15113,
    "h": 309.7
  },
  "luminance": 0.27842
}

Semantic roles & 50–950 ramp

primary
#B178DA
secondary
#D4E7C7
accent
#C52165
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #B178DA

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

Preview Lab → · Contrast checker → · Palette generator →

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