#B178FD#B178FD

#B178FD is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.9% C 0.193 H 301.3°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#B178FD
RGBrgb(177, 120, 253)
HSLhsl(266, 97%, 73%)
HSVhsv(266, 53%, 99%)
CMYKcmyk(30%, 52.6%, 0%, 0.8%)
CIE-LABlab(61.54, 48.32, -58.37)
CIE-LCHlch(61.54, 75.78, 309.62°)
OKLaboklab(68.86% 0.1001 -0.1646)
OKLCHoklch(68.86% 0.193 301.3)
XYZxyz(42.5734, 29.8718, 96.4324)
Luminance0.2987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178FD #C4FD78
analogous
#7881FD #B178FD #F378FD
triadic
#B178FD #FDB178 #78FDB1
tetradic
#B178FD #FD7881 #C4FD78 #78FDF3
square
#B178FD #FD7881 #C4FD78 #78FDF3
split-complementary
#B178FD #FDF378 #81FD78
monochromatic
#6C04F7 #8E3CFC #B178FD #D4B4FE #EEE1FF

Accessibility & contrast

On white

3.01
#B178FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#B178FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178FD
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178FD#FFFFFF#000000##000000
##B178FD1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#5994FA
Tritanopia (blue-blind)
#A292AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b178fd;
/* rgb */ color: rgb(177, 120, 253);
/* oklch */ color: oklch(68.9% 0.193 301.3);
Tailwind
colors: {
  custom: {
    50: '#cca0ff',
    500: '#b178fd',
    950: '#000000',
  },
}
SCSS
$custom: #b178fd;
$custom-light: #cca0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b178fd",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 265.714,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68865,
    "c": 0.19269,
    "h": 301.3
  },
  "luminance": 0.29872
}

Semantic roles & 50–950 ramp

primary
#B178FD
secondary
#E8F7D4
accent
#E60083
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B178FD

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

Preview Lab → · Contrast checker → · Palette generator →

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