#B176FC#B176FC

#B176FC is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.5% C 0.194 H 301.8°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#B176FC
RGBrgb(177, 118, 252)
HSLhsl(266, 96%, 73%)
HSVhsv(266, 53%, 99%)
CMYKcmyk(29.8%, 53.2%, 0%, 1.2%)
CIE-LABlab(61.07, 49.16, -58.57)
CIE-LCHlch(61.07, 76.46, 310.01°)
OKLaboklab(68.5% 0.1025 -0.1652)
OKLCHoklch(68.5% 0.194 301.8)
XYZxyz(42.1765, 29.3322, 95.5163)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B176FC #C1FC76
analogous
#767EFC #B176FC #F476FC
triadic
#B176FC #FCB176 #76FCB1
tetradic
#B176FC #FC767E #C1FC76 #76FCF4
square
#B176FC #FC767E #C1FC76 #76FCF4
split-complementary
#B176FC #FCF476 #7EFC76
monochromatic
#6E05F2 #8F3AFB #B176FC #D3B2FD #EEE1FE

Accessibility & contrast

On white

3.06
#B176FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#B176FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B176FC
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B176FC#FFFFFF#000000##000000
##B176FC1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#5793F9
Tritanopia (blue-blind)
#A390AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b176fc;
/* rgb */ color: rgb(177, 118, 252);
/* oklch */ color: oklch(68.5% 0.194 301.8);
Tailwind
colors: {
  custom: {
    50: '#cc9ffe',
    500: '#b176fc',
    950: '#000000',
  },
}
SCSS
$custom: #b176fc;
$custom-light: #cc9ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#b176fc",
  "rgb": {
    "r": 177,
    "g": 118,
    "b": 252
  },
  "hsl": {
    "h": 266.418,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.685,
    "c": 0.19446,
    "h": 301.8
  },
  "luminance": 0.29332
}

Semantic roles & 50–950 ramp

primary
#B176FC
secondary
#E8F7D4
accent
#E60080
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F18
muted
#827E86

Preview Lab

Preview with #B176FC

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

Preview Lab → · Contrast checker → · Palette generator →

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