#B178ED#B178ED

#B178ED is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.0% C 0.174 H 304.7°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#B178ED
RGBrgb(177, 120, 237)
HSLhsl(269, 76%, 70%)
HSVhsv(269, 49%, 93%)
CMYKcmyk(25.3%, 49.4%, 0%, 7.1%)
CIE-LABlab(60.69, 44.55, -50.89)
CIE-LCHlch(60.69, 67.64, 311.20°)
OKLaboklab(67.95% 0.0989 -0.1428)
OKLCHoklch(67.95% 0.174 304.7)
XYZxyz(40.1307, 28.8947, 83.5674)
Luminance0.2889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178ED #B4ED78
analogous
#7879ED #B178ED #EC78ED
triadic
#B178ED #EDB178 #78EDB1
tetradic
#B178ED #ED7879 #B4ED78 #78EDEC
square
#B178ED #ED7879 #B4ED78 #78EDEC
split-complementary
#B178ED #EDEC78 #79ED78
monochromatic
#731CCF #9242E6 #B178ED #D0AEF4 #EFE4FB

Accessibility & contrast

On white

3.10
#B178ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#B178ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178ED
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178ED#FFFFFF#000000##000000
##B178ED1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5591F1
Deuteranopia (green-blind)
#6593EA
Tritanopia (blue-blind)
#A78DA8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b178ed;
/* rgb */ color: rgb(177, 120, 237);
/* oklch */ color: oklch(68.0% 0.174 304.7);
Tailwind
colors: {
  custom: {
    50: '#cba0f3',
    500: '#b178ed',
    950: '#000000',
  },
}
SCSS
$custom: #b178ed;
$custom-light: #cba0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b178ed",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 269.231,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.67954,
    "c": 0.17368,
    "h": 304.7
  },
  "luminance": 0.28894
}

Semantic roles & 50–950 ramp

primary
#B178ED
secondary
#E1F1D0
accent
#D90D75
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F17
muted
#827E85

Preview Lab

Preview with #B178ED

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

Preview Lab → · Contrast checker → · Palette generator →

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