#B178DF#B178DF

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

Color values

HEX#B178DF
RGBrgb(177, 120, 223)
HSLhsl(273, 62%, 67%)
HSVhsv(273, 46%, 87%)
CMYKcmyk(20.6%, 46.2%, 0%, 12.5%)
CIE-LABlab(59.99, 41.35, -44.20)
CIE-LCHlch(59.99, 60.53, 313.09°)
OKLaboklab(67.2% 0.0972 -0.1233)
OKLCHoklch(67.2% 0.157 308.3)
XYZxyz(38.1646, 28.1082, 73.2126)
Luminance0.2811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178DF #A6DF78
analogous
#7E78DF #B178DF #DF78DA
triadic
#B178DF #DFB178 #78DFB1
tetradic
#B178DF #DF7E78 #A6DF78 #78DADF
square
#B178DF #DF7E78 #A6DF78 #78DADF
split-complementary
#B178DF #DADF78 #78DF7E
monochromatic
#762AB2 #9447D3 #B178DF #CEA9EB #EADBF6

Accessibility & contrast

On white

3.17
#B178DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#B178DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178DF
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178DF#FFFFFF#000000##000000
##B178DF1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8EE3
Deuteranopia (green-blind)
#6E91DC
Tritanopia (blue-blind)
#AB89A1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b178df;
/* rgb */ color: rgb(177, 120, 223);
/* oklch */ color: oklch(67.2% 0.157 308.3);
Tailwind
colors: {
  custom: {
    50: '#caa0e9',
    500: '#b178df',
    950: '#000000',
  },
}
SCSS
$custom: #b178df;
$custom-light: #caa0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b178df",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 273.204,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67202,
    "c": 0.15704,
    "h": 308.3
  },
  "luminance": 0.28108
}

Semantic roles & 50–950 ramp

primary
#B178DF
secondary
#D8EAC9
accent
#C91C69
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #B178DF

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

Preview Lab → · Contrast checker → · Palette generator →

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