#B177FE#B177FE

#B177FE is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.8% C 0.195 H 301.3°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#B177FE
RGBrgb(177, 119, 254)
HSLhsl(266, 99%, 73%)
HSVhsv(266, 53%, 100%)
CMYKcmyk(30.3%, 53.1%, 0%, 0.4%)
CIE-LABlab(61.39, 49.10, -59.16)
CIE-LCHlch(61.39, 76.88, 309.69°)
OKLaboklab(68.77% 0.1014 -0.167)
OKLCHoklch(68.77% 0.195 301.3)
XYZxyz(42.6135, 29.6964, 97.2337)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B177FE #C4FE77
analogous
#7780FE #B177FE #F577FE
triadic
#B177FE #FEB177 #77FEB1
tetradic
#B177FE #FE7780 #C4FE77 #77FEF5
square
#B177FE #FE7780 #C4FE77 #77FEF5
split-complementary
#B177FE #FEF577 #80FE77
monochromatic
#6C02F9 #8E3AFE #B177FE #D4B4FE #EEE1FF

Accessibility & contrast

On white

3.03
#B177FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#B177FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B177FE
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B177FE#FFFFFF#000000##000000
##B177FE1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#5794FB
Tritanopia (blue-blind)
#A291AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b177fe;
/* rgb */ color: rgb(177, 119, 254);
/* oklch */ color: oklch(68.8% 0.195 301.3);
Tailwind
colors: {
  custom: {
    50: '#cca0ff',
    500: '#b177fe',
    950: '#000000',
  },
}
SCSS
$custom: #b177fe;
$custom-light: #cca0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b177fe",
  "rgb": {
    "r": 177,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 265.778,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.6877,
    "c": 0.19534,
    "h": 301.3
  },
  "luminance": 0.29697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B177FE

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

Preview Lab → · Contrast checker → · Palette generator →

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