#B178DD#B178DD

#B178DD is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.1% C 0.155 H 308.8°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B178DD
RGBrgb(177, 120, 221)
HSLhsl(274, 60%, 67%)
HSVhsv(274, 46%, 87%)
CMYKcmyk(19.9%, 45.7%, 0%, 13.3%)
CIE-LABlab(59.89, 40.90, -43.24)
CIE-LCHlch(59.89, 59.52, 313.41°)
OKLaboklab(67.1% 0.097 -0.1205)
OKLCHoklch(67.1% 0.155 308.8)
XYZxyz(37.8966, 28.0010, 71.8009)
Luminance0.2800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178DD #A4DD78
analogous
#7F78DD #B178DD #DD78D7
triadic
#B178DD #DDB178 #78DDB1
tetradic
#B178DD #DD7F78 #A4DD78 #78D7DD
square
#B178DD #DD7F78 #A4DD78 #78D7DD
split-complementary
#B178DD #D7DD78 #78DD7F
monochromatic
#762CAF #9547D1 #B178DD #CDA9E9 #E9DAF6

Accessibility & contrast

On white

3.18
#B178DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#B178DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178DD
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178DD#FFFFFF#000000##000000
##B178DD1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b178dd;
/* rgb */ color: rgb(177, 120, 221);
/* oklch */ color: oklch(67.1% 0.155 308.8);
Tailwind
colors: {
  custom: {
    50: '#caa0e8',
    500: '#b178dd',
    950: '#000000',
  },
}
SCSS
$custom: #b178dd;
$custom-light: #caa0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b178dd",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 273.861,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67098,
    "c": 0.15468,
    "h": 308.8
  },
  "luminance": 0.28001
}

Semantic roles & 50–950 ramp

primary
#B178DD
secondary
#D6E9C8
accent
#C71E68
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #B178DD

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

Preview Lab → · Contrast checker → · Palette generator →

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