#B179FB#B179FB

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

Color values

HEX#B179FB
RGBrgb(177, 121, 251)
HSLhsl(266, 94%, 73%)
HSVhsv(266, 52%, 98%)
CMYKcmyk(29.5%, 51.8%, 0%, 1.6%)
CIE-LABlab(61.64, 47.31, -57.11)
CIE-LCHlch(61.64, 74.16, 309.64°)
OKLaboklab(68.9% 0.0987 -0.161)
OKLCHoklch(68.9% 0.189 301.5)
XYZxyz(42.3774, 29.9868, 94.8035)
Luminance0.2999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B179FB #C3FB79
analogous
#7982FB #B179FB #F279FB
triadic
#B179FB #FBB179 #79FBB1
tetradic
#B179FB #FB7982 #C3FB79 #79FBF2
square
#B179FB #FB7982 #C3FB79 #79FBF2
split-complementary
#B179FB #FBF279 #82FB79
monochromatic
#6D07F2 #8E3EF9 #B179FB #D4B4FD #EEE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B179FB#FFFFFF#000000##000000
##B179FB1.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)
#4B94FF
Deuteranopia (green-blind)
#5C94F8
Tritanopia (blue-blind)
#A392AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b179fb;
/* rgb */ color: rgb(177, 121, 251);
/* oklch */ color: oklch(68.9% 0.189 301.5);
Tailwind
colors: {
  custom: {
    50: '#cca1fd',
    500: '#b179fb',
    950: '#000000',
  },
}
SCSS
$custom: #b179fb;
$custom-light: #cca1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b179fb",
  "rgb": {
    "r": 177,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 265.846,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68903,
    "c": 0.18883,
    "h": 301.5
  },
  "luminance": 0.29987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B179FB

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

Preview Lab → · Contrast checker → · Palette generator →

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