#B176FE#B176FE

#B176FE is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.6% C 0.197 H 301.4°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#B176FE
RGBrgb(177, 118, 254)
HSLhsl(266, 99%, 73%)
HSVhsv(266, 54%, 100%)
CMYKcmyk(30.3%, 53.5%, 0%, 0.4%)
CIE-LABlab(61.19, 49.63, -59.49)
CIE-LCHlch(61.19, 77.48, 309.84°)
OKLaboklab(68.62% 0.1026 -0.1679)
OKLCHoklch(68.62% 0.197 301.4)
XYZxyz(42.4951, 29.4596, 97.1942)
Luminance0.2946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B176FE #C3FE76
analogous
#767FFE #B176FE #F576FE
triadic
#B176FE #FEB176 #76FEB1
tetradic
#B176FE #FE767F #C3FE76 #76FEF5
square
#B176FE #FE767F #C3FE76 #76FEF5
split-complementary
#B176FE #FEF576 #7FFE76
monochromatic
#6D02F8 #8E39FE #B176FE #D4B3FE #EEE1FF

Accessibility & contrast

On white

3.05
#B176FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#B176FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B176FE
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B176FE#FFFFFF#000000##000000
##B176FE1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4293FF
Deuteranopia (green-blind)
#5593FB
Tritanopia (blue-blind)
#A290AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b176fe;
/* rgb */ color: rgb(177, 118, 254);
/* oklch */ color: oklch(68.6% 0.197 301.4);
Tailwind
colors: {
  custom: {
    50: '#cc9fff',
    500: '#b176fe',
    950: '#000000',
  },
}
SCSS
$custom: #b176fe;
$custom-light: #cc9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#b176fe",
  "rgb": {
    "r": 177,
    "g": 118,
    "b": 254
  },
  "hsl": {
    "h": 266.029,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68618,
    "c": 0.19682,
    "h": 301.4
  },
  "luminance": 0.2946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B176FE

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

Preview Lab → · Contrast checker → · Palette generator →

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