#B179FE#B179FE

#B179FE is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.1% C 0.192 H 300.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#B179FE
RGBrgb(177, 121, 254)
HSLhsl(265, 99%, 74%)
HSVhsv(265, 52%, 100%)
CMYKcmyk(30.3%, 52.4%, 0%, 0.4%)
CIE-LABlab(61.81, 48.03, -58.50)
CIE-LCHlch(61.81, 75.69, 309.39°)
OKLaboklab(69.08% 0.0989 -0.165)
OKLCHoklch(69.08% 0.192 300.9)
XYZxyz(42.8541, 30.1774, 97.3138)
Luminance0.3018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B179FE #C6FE79
analogous
#7983FE #B179FE #F379FE
triadic
#B179FE #FEB179 #79FEB1
tetradic
#B179FE #FE7983 #C6FE79 #79FEF3
square
#B179FE #FE7983 #C6FE79 #79FEF3
split-complementary
#B179FE #FEF379 #83FE79
monochromatic
#6B02FB #8E3CFE #B179FE #D4B6FE #EDE1FF

Accessibility & contrast

On white

2.98
#B179FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#B179FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B179FE
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B179FE#FFFFFF#000000##000000
##B179FE1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4895FF
Deuteranopia (green-blind)
#5995FB
Tritanopia (blue-blind)
#A293B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b179fe;
/* rgb */ color: rgb(177, 121, 254);
/* oklch */ color: oklch(69.1% 0.192 300.9);
Tailwind
colors: {
  custom: {
    50: '#cca1ff',
    500: '#b179fe',
    950: '#000000',
  },
}
SCSS
$custom: #b179fe;
$custom-light: #cca1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b179fe",
  "rgb": {
    "r": 177,
    "g": 121,
    "b": 254
  },
  "hsl": {
    "h": 265.263,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69077,
    "c": 0.1924,
    "h": 300.9
  },
  "luminance": 0.30178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B179FE

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

Preview Lab → · Contrast checker → · Palette generator →

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