#B179FC#B179FC

#B179FC is a light, vivid violet. Relative luminance 0.300; OKLCH L 69.0% C 0.190 H 301.3°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#B179FC
RGBrgb(177, 121, 252)
HSLhsl(266, 96%, 73%)
HSVhsv(266, 52%, 99%)
CMYKcmyk(29.8%, 52%, 0%, 1.2%)
CIE-LABlab(61.70, 47.55, -57.58)
CIE-LCHlch(61.70, 74.67, 309.55°)
OKLaboklab(68.96% 0.0988 -0.1623)
OKLCHoklch(68.96% 0.19 301.3)
XYZxyz(42.5355, 30.0500, 95.6359)
Luminance0.3005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B179FC #C4FC79
analogous
#7982FC #B179FC #F279FC
triadic
#B179FC #FCB179 #79FCB1
tetradic
#B179FC #FC7982 #C4FC79 #79FCF2
square
#B179FC #FC7982 #C4FC79 #79FCF2
split-complementary
#B179FC #FCF279 #82FC79
monochromatic
#6C05F5 #8E3DFB #B179FC #D4B5FD #EEE1FE

Accessibility & contrast

On white

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

On black

7.01
#B179FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B179FC
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B179FC#FFFFFF#000000##000000
##B179FC1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#5B94F9
Tritanopia (blue-blind)
#A292AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b179fc;
/* rgb */ color: rgb(177, 121, 252);
/* oklch */ color: oklch(69.0% 0.190 301.3);
Tailwind
colors: {
  custom: {
    50: '#cca1fe',
    500: '#b179fc',
    950: '#000000',
  },
}
SCSS
$custom: #b179fc;
$custom-light: #cca1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b179fc",
  "rgb": {
    "r": 177,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 265.649,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68961,
    "c": 0.19001,
    "h": 301.3
  },
  "luminance": 0.3005
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B179FC

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

Preview Lab → · Contrast checker → · Palette generator →

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