#B179F7#B179F7

#B179F7 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.7% C 0.184 H 302.3°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#B179F7
RGBrgb(177, 121, 247)
HSLhsl(267, 89%, 72%)
HSVhsv(267, 51%, 97%)
CMYKcmyk(28.3%, 51%, 0%, 3.1%)
CIE-LABlab(61.43, 46.36, -55.25)
CIE-LCHlch(61.43, 72.12, 310.00°)
OKLaboklab(68.67% 0.0984 -0.1555)
OKLCHoklch(68.67% 0.184 302.3)
XYZxyz(41.7535, 29.7372, 91.5178)
Luminance0.2974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B179F7 #BFF779
analogous
#7980F7 #B179F7 #F079F7
triadic
#B179F7 #F7B179 #79F7B1
tetradic
#B179F7 #F77980 #BFF779 #79F7F0
square
#B179F7 #F77980 #BFF779 #79F7F0
split-complementary
#B179F7 #F7F079 #80F779
monochromatic
#6F0EE8 #8F3FF4 #B179F7 #D3B3FA #EEE2FD

Accessibility & contrast

On white

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

On black

6.95
#B179F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B179F7
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B179F7#FFFFFF#000000##000000
##B179F71.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F93FB
Deuteranopia (green-blind)
#5F94F4
Tritanopia (blue-blind)
#A490AD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b179f7;
/* rgb */ color: rgb(177, 121, 247);
/* oklch */ color: oklch(68.7% 0.184 302.3);
Tailwind
colors: {
  custom: {
    50: '#cba1fa',
    500: '#b179f7',
    950: '#000000',
  },
}
SCSS
$custom: #b179f7;
$custom-light: #cba1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b179f7",
  "rgb": {
    "r": 177,
    "g": 121,
    "b": 247
  },
  "hsl": {
    "h": 266.667,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68673,
    "c": 0.18407,
    "h": 302.3
  },
  "luminance": 0.29737
}

Semantic roles & 50–950 ramp

primary
#B179F7
secondary
#E7F5D6
accent
#E5007F
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B179F7

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

Preview Lab → · Contrast checker → · Palette generator →

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