#B179F9#B179F9

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

Color values

HEX#B179F9
RGBrgb(177, 121, 249)
HSLhsl(266, 91%, 73%)
HSVhsv(266, 51%, 98%)
CMYKcmyk(28.9%, 51.4%, 0%, 2.4%)
CIE-LABlab(61.53, 46.83, -56.18)
CIE-LCHlch(61.53, 73.14, 309.81°)
OKLaboklab(68.79% 0.0986 -0.1582)
OKLCHoklch(68.79% 0.186 301.9)
XYZxyz(42.0638, 29.8613, 93.1519)
Luminance0.2986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B179F9 #C1F979
analogous
#7981F9 #B179F9 #F179F9
triadic
#B179F9 #F9B179 #79F9B1
tetradic
#B179F9 #F97981 #C1F979 #79F9F1
square
#B179F9 #F97981 #C1F979 #79F9F1
split-complementary
#B179F9 #F9F179 #81F979
monochromatic
#6E0BED #8F3EF6 #B179F9 #D3B4FC #EEE2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B179F9#FFFFFF#000000##000000
##B179F91.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)
#4D94FD
Deuteranopia (green-blind)
#5D94F6
Tritanopia (blue-blind)
#A391AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b179f9;
/* rgb */ color: rgb(177, 121, 249);
/* oklch */ color: oklch(68.8% 0.186 301.9);
Tailwind
colors: {
  custom: {
    50: '#cba1fc',
    500: '#b179f9',
    950: '#000000',
  },
}
SCSS
$custom: #b179f9;
$custom-light: #cba1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b179f9",
  "rgb": {
    "r": 177,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 266.25,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68787,
    "c": 0.18644,
    "h": 301.9
  },
  "luminance": 0.29861
}

Semantic roles & 50–950 ramp

primary
#B179F9
secondary
#E8F6D5
accent
#E60081
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B179F9

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

Preview Lab → · Contrast checker → · Palette generator →

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