#B176F3#B176F3

#B176F3 is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.0% C 0.184 H 303.7°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#B176F3
RGBrgb(177, 118, 243)
HSLhsl(268, 84%, 71%)
HSVhsv(268, 51%, 95%)
CMYKcmyk(27.2%, 51.4%, 0%, 4.7%)
CIE-LABlab(60.58, 47.03, -54.39)
CIE-LCHlch(60.58, 71.90, 310.85°)
OKLaboklab(67.98% 0.102 -0.153)
OKLCHoklch(67.98% 0.184 303.7)
XYZxyz(40.7840, 28.7751, 88.1822)
Luminance0.2878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B176F3 #B8F376
analogous
#7679F3 #B176F3 #F076F3
triadic
#B176F3 #F3B176 #76F3B1
tetradic
#B176F3 #F37679 #B8F376 #76F3F0
square
#B176F3 #F37679 #B8F376 #76F3F0
split-complementary
#B176F3 #F3F076 #79F376
monochromatic
#7213DB #913EEE #B176F3 #D1AEF8 #EFE3FD

Accessibility & contrast

On white

3.11
#B176F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#B176F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B176F3
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B176F3#FFFFFF#000000##000000
##B176F31.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D91F7
Deuteranopia (green-blind)
#5E92F0
Tritanopia (blue-blind)
#A58DAA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b176f3;
/* rgb */ color: rgb(177, 118, 243);
/* oklch */ color: oklch(68.0% 0.184 303.7);
Tailwind
colors: {
  custom: {
    50: '#cb9ff8',
    500: '#b176f3',
    950: '#000000',
  },
}
SCSS
$custom: #b176f3;
$custom-light: #cb9ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#b176f3",
  "rgb": {
    "r": 177,
    "g": 118,
    "b": 243
  },
  "hsl": {
    "h": 268.32,
    "s": 83.893,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67978,
    "c": 0.18387,
    "h": 303.7
  },
  "luminance": 0.28775
}

Semantic roles & 50–950 ramp

primary
#B176F3
secondary
#E3F3D2
accent
#E00579
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B176F3

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

Preview Lab → · Contrast checker → · Palette generator →

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