#B178FF#B178FF

#B178FF is a light, vivid violet. Relative luminance 0.300; OKLCH L 69.0% C 0.195 H 300.9°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#B178FF
RGBrgb(177, 120, 255)
HSLhsl(265, 100%, 74%)
HSVhsv(265, 53%, 100%)
CMYKcmyk(30.6%, 52.9%, 0%, 0%)
CIE-LABlab(61.65, 48.80, -59.29)
CIE-LCHlch(61.65, 76.80, 309.46°)
OKLaboklab(68.98% 0.1002 -0.1673)
OKLCHoklch(68.98% 0.195 300.9)
XYZxyz(42.8937, 29.9999, 98.1191)
Luminance0.3000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178FF #C6FF78
analogous
#7882FF #B178FF #F478FF
triadic
#B178FF #FFB178 #78FFB1
tetradic
#B178FF #FF7882 #C6FF78 #78FFF4
square
#B178FF #FF7882 #C6FF78 #78FFF4
split-complementary
#B178FF #FFF478 #82FF78
monochromatic
#6B00FD #8E3BFF #B178FF #D4B5FF #EDE0FF

Accessibility & contrast

On white

3.00
#B178FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#B178FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B178FF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178FF#FFFFFF#000000##000000
##B178FF1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#5794FC
Tritanopia (blue-blind)
#A192B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b178ff;
/* rgb */ color: rgb(177, 120, 255);
/* oklch */ color: oklch(69.0% 0.195 300.9);
Tailwind
colors: {
  custom: {
    50: '#cca0ff',
    500: '#b178ff',
    950: '#000000',
  },
}
SCSS
$custom: #b178ff;
$custom-light: #cca0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b178ff",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 265.333,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68982,
    "c": 0.19505,
    "h": 300.9
  },
  "luminance": 0.3
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B178FF

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

Preview Lab → · Contrast checker → · Palette generator →

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