#B179FA#B179FA

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

Color values

HEX#B179FA
RGBrgb(177, 121, 250)
HSLhsl(266, 93%, 73%)
HSVhsv(266, 52%, 98%)
CMYKcmyk(29.2%, 51.6%, 0%, 2%)
CIE-LABlab(61.59, 47.07, -56.65)
CIE-LCHlch(61.59, 73.65, 309.72°)
OKLaboklab(68.85% 0.0987 -0.1596)
OKLCHoklch(68.85% 0.188 301.7)
XYZxyz(42.2202, 29.9239, 93.9755)
Luminance0.2992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B179FA #C2FA79
analogous
#7981FA #B179FA #F279FA
triadic
#B179FA #FAB179 #79FAB1
tetradic
#B179FA #FA7981 #C2FA79 #79FAF2
square
#B179FA #FA7981 #C2FA79 #79FAF2
split-complementary
#B179FA #FAF279 #81FA79
monochromatic
#6D09F0 #8F3EF8 #B179FA #D3B4FC #EEE2FE

Accessibility & contrast

On white

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

On black

6.98
#B179FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B179FA
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B179FA#FFFFFF#000000##000000
##B179FA1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C94FE
Deuteranopia (green-blind)
#5C94F7
Tritanopia (blue-blind)
#A391AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b179fa;
/* rgb */ color: rgb(177, 121, 250);
/* oklch */ color: oklch(68.8% 0.188 301.7);
Tailwind
colors: {
  custom: {
    50: '#cba1fc',
    500: '#b179fa',
    950: '#000000',
  },
}
SCSS
$custom: #b179fa;
$custom-light: #cba1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b179fa",
  "rgb": {
    "r": 177,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 266.047,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68845,
    "c": 0.18764,
    "h": 301.7
  },
  "luminance": 0.29924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B179FA

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

Preview Lab → · Contrast checker → · Palette generator →

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