#B179F8#B179F8

#B179F8 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.7% C 0.185 H 302.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#B179F8
RGBrgb(177, 121, 248)
HSLhsl(266, 90%, 72%)
HSVhsv(266, 51%, 97%)
CMYKcmyk(28.6%, 51.2%, 0%, 2.7%)
CIE-LABlab(61.48, 46.59, -55.72)
CIE-LCHlch(61.48, 72.63, 309.90°)
OKLaboklab(68.73% 0.0985 -0.1569)
OKLCHoklch(68.73% 0.185 302.1)
XYZxyz(41.9083, 29.7991, 92.3327)
Luminance0.2980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B179F8 #C0F879
analogous
#7980F8 #B179F8 #F179F8
triadic
#B179F8 #F8B179 #79F8B1
tetradic
#B179F8 #F87980 #C0F879 #79F8F1
square
#B179F8 #F87980 #C0F879 #79F8F1
split-complementary
#B179F8 #F8F179 #80F879
monochromatic
#6E0CEA #8F3FF5 #B179F8 #D3B3FB #EEE2FD

Accessibility & contrast

On white

3.02
#B179F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#B179F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B179F8
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B179F8#FFFFFF#000000##000000
##B179F81.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FC
Deuteranopia (green-blind)
#5E94F5
Tritanopia (blue-blind)
#A491AD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b179f8;
/* rgb */ color: rgb(177, 121, 248);
/* oklch */ color: oklch(68.7% 0.185 302.1);
Tailwind
colors: {
  custom: {
    50: '#cba1fb',
    500: '#b179f8',
    950: '#000000',
  },
}
SCSS
$custom: #b179f8;
$custom-light: #cba1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b179f8",
  "rgb": {
    "r": 177,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 266.457,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6873,
    "c": 0.18525,
    "h": 302.1
  },
  "luminance": 0.29799
}

Semantic roles & 50–950 ramp

primary
#B179F8
secondary
#E7F6D5
accent
#E60080
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B179F8

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

Preview Lab → · Contrast checker → · Palette generator →

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