#B176F5#B176F5

#B176F5 is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.1% C 0.186 H 303.3°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#B176F5
RGBrgb(177, 118, 245)
HSLhsl(268, 86%, 71%)
HSVhsv(268, 52%, 96%)
CMYKcmyk(27.8%, 51.8%, 0%, 3.9%)
CIE-LABlab(60.69, 47.50, -55.32)
CIE-LCHlch(60.69, 72.91, 310.65°)
OKLaboklab(68.09% 0.1021 -0.1557)
OKLCHoklch(68.09% 0.186 303.3)
XYZxyz(41.0877, 28.8966, 89.7815)
Luminance0.2890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B176F5 #BAF576
analogous
#767AF5 #B176F5 #F176F5
triadic
#B176F5 #F5B176 #76F5B1
tetradic
#B176F5 #F5767A #BAF576 #76F5F1
square
#B176F5 #F5767A #BAF576 #76F5F1
split-complementary
#B176F5 #F5F176 #7AF576
monochromatic
#7110E0 #913DF1 #B176F5 #D1AFF9 #EFE2FD

Accessibility & contrast

On white

3.10
#B176F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#B176F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B176F5
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B176F5#FFFFFF#000000##000000
##B176F51.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B91F9
Deuteranopia (green-blind)
#5D92F2
Tritanopia (blue-blind)
#A58EAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b176f5;
/* rgb */ color: rgb(177, 118, 245);
/* oklch */ color: oklch(68.1% 0.186 303.3);
Tailwind
colors: {
  custom: {
    50: '#cb9ff9',
    500: '#b176f5',
    950: '#000000',
  },
}
SCSS
$custom: #b176f5;
$custom-light: #cb9ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#b176f5",
  "rgb": {
    "r": 177,
    "g": 118,
    "b": 245
  },
  "hsl": {
    "h": 267.874,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68092,
    "c": 0.18623,
    "h": 303.3
  },
  "luminance": 0.28897
}

Semantic roles & 50–950 ramp

primary
#B176F5
secondary
#E5F4D3
accent
#E3037B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B176F5

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

Preview Lab → · Contrast checker → · Palette generator →

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