#B178CE#B178CE

#B178CE is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.3% C 0.137 H 313.6°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B178CE
RGBrgb(177, 120, 206)
HSLhsl(280, 47%, 64%)
HSVhsv(280, 42%, 81%)
CMYKcmyk(14.1%, 41.7%, 0%, 19.2%)
CIE-LABlab(59.19, 37.61, -35.90)
CIE-LCHlch(59.19, 51.99, 316.34°)
OKLaboklab(66.35% 0.0945 -0.0993)
OKLCHoklch(66.35% 0.137 313.6)
XYZxyz(35.9867, 27.2370, 61.7421)
Luminance0.2724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178CE #95CE78
analogous
#8678CE #B178CE #CE78C0
triadic
#B178CE #CEB178 #78CEB1
tetradic
#B178CE #CE8678 #95CE78 #78C0CE
square
#B178CE #CE8678 #95CE78 #78C0CE
split-complementary
#B178CE #C0CE78 #78CE86
monochromatic
#753695 #974BBE #B178CE #CBA5DE #E5D2EF

Accessibility & contrast

On white

3.26
#B178CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#B178CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178CE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178CE#FFFFFF#000000##000000
##B178CE1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#688BD1
Deuteranopia (green-blind)
#7690CC
Tritanopia (blue-blind)
#AF8499
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b178ce;
/* rgb */ color: rgb(177, 120, 206);
/* oklch */ color: oklch(66.3% 0.137 313.6);
Tailwind
colors: {
  custom: {
    50: '#caa0dd',
    500: '#b178ce',
    950: '#000000',
  },
}
SCSS
$custom: #b178ce;
$custom-light: #caa0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b178ce",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 279.767,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66348,
    "c": 0.13706,
    "h": 313.6
  },
  "luminance": 0.27236
}

Semantic roles & 50–950 ramp

primary
#B178CE
secondary
#CCE0C2
accent
#BA2C5C
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #B178CE

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

Preview Lab → · Contrast checker → · Palette generator →

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