#B176F8#B176F8

#B176F8 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.3% C 0.190 H 302.6°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#B176F8
RGBrgb(177, 118, 248)
HSLhsl(267, 90%, 72%)
HSVhsv(267, 52%, 97%)
CMYKcmyk(28.6%, 52.4%, 0%, 2.7%)
CIE-LABlab(60.85, 48.21, -56.72)
CIE-LCHlch(60.85, 74.44, 310.36°)
OKLaboklab(68.27% 0.1023 -0.1598)
OKLCHoklch(68.27% 0.19 302.6)
XYZxyz(41.5494, 29.0813, 92.2131)
Luminance0.2908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B176F8 #BDF876
analogous
#767CF8 #B176F8 #F276F8
triadic
#B176F8 #F8B176 #76F8B1
tetradic
#B176F8 #F8767C #BDF876 #76F8F2
square
#B176F8 #F8767C #BDF876 #76F8F2
split-complementary
#B176F8 #F8F276 #7CF876
monochromatic
#700CE8 #903CF5 #B176F8 #D2B0FB #EEE2FE

Accessibility & contrast

On white

3.08
#B176F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#B176F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B176F8
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B176F8#FFFFFF#000000##000000
##B176F81.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4892FC
Deuteranopia (green-blind)
#5A92F5
Tritanopia (blue-blind)
#A48FAC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b176f8;
/* rgb */ color: rgb(177, 118, 248);
/* oklch */ color: oklch(68.3% 0.190 302.6);
Tailwind
colors: {
  custom: {
    50: '#cc9ffb',
    500: '#b176f8',
    950: '#000000',
  },
}
SCSS
$custom: #b176f8;
$custom-light: #cc9ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#b176f8",
  "rgb": {
    "r": 177,
    "g": 118,
    "b": 248
  },
  "hsl": {
    "h": 267.231,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68266,
    "c": 0.18976,
    "h": 302.6
  },
  "luminance": 0.29081
}

Semantic roles & 50–950 ramp

primary
#B176F8
secondary
#E6F5D4
accent
#E6007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B176F8

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

Preview Lab → · Contrast checker → · Palette generator →

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