#B176F6#B176F6

#B176F6 is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.2% C 0.187 H 303.1°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#B176F6
RGBrgb(177, 118, 246)
HSLhsl(268, 88%, 71%)
HSVhsv(268, 52%, 96%)
CMYKcmyk(28%, 52%, 0%, 3.5%)
CIE-LABlab(60.74, 47.73, -55.79)
CIE-LCHlch(60.74, 73.42, 310.55°)
OKLaboklab(68.15% 0.1022 -0.1571)
OKLCHoklch(68.15% 0.187 303.1)
XYZxyz(41.2407, 28.9578, 90.5877)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B176F6 #BBF676
analogous
#767BF6 #B176F6 #F176F6
triadic
#B176F6 #F6B176 #76F6B1
tetradic
#B176F6 #F6767B #BBF676 #76F6F1
square
#B176F6 #F6767B #BBF676 #76F6F1
split-complementary
#B176F6 #F6F176 #7BF676
monochromatic
#710FE3 #903DF2 #B176F6 #D2AFFA #EFE2FD

Accessibility & contrast

On white

3.09
#B176F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#B176F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B176F6
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B176F6#FFFFFF#000000##000000
##B176F61.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A91FA
Deuteranopia (green-blind)
#5C92F3
Tritanopia (blue-blind)
#A48EAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b176f6;
/* rgb */ color: rgb(177, 118, 246);
/* oklch */ color: oklch(68.2% 0.187 303.1);
Tailwind
colors: {
  custom: {
    50: '#cb9ffa',
    500: '#b176f6',
    950: '#000000',
  },
}
SCSS
$custom: #b176f6;
$custom-light: #cb9ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#b176f6",
  "rgb": {
    "r": 177,
    "g": 118,
    "b": 246
  },
  "hsl": {
    "h": 267.656,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.6815,
    "c": 0.18741,
    "h": 303.1
  },
  "luminance": 0.28958
}

Semantic roles & 50–950 ramp

primary
#B176F6
secondary
#E5F5D3
accent
#E4017C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B176F6

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

Preview Lab → · Contrast checker → · Palette generator →

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