#B177FC#B177FC

#B177FC is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.7% C 0.193 H 301.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#B177FC
RGBrgb(177, 119, 252)
HSLhsl(266, 96%, 73%)
HSVhsv(266, 53%, 99%)
CMYKcmyk(29.8%, 52.8%, 0%, 1.2%)
CIE-LABlab(61.28, 48.62, -58.24)
CIE-LCHlch(61.28, 75.87, 309.86°)
OKLaboklab(68.65% 0.1013 -0.1643)
OKLCHoklch(68.65% 0.193 301.7)
XYZxyz(42.2949, 29.5689, 95.5557)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B177FC #C2FC77
analogous
#7780FC #B177FC #F377FC
triadic
#B177FC #FCB177 #77FCB1
tetradic
#B177FC #FC7780 #C2FC77 #77FCF3
square
#B177FC #FC7780 #C2FC77 #77FCF3
split-complementary
#B177FC #FCF377 #80FC77
monochromatic
#6D05F3 #8F3BFB #B177FC #D3B3FD #EEE1FE

Accessibility & contrast

On white

3.04
#B177FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#B177FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B177FC
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B177FC#FFFFFF#000000##000000
##B177FC1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#5893F9
Tritanopia (blue-blind)
#A390AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b177fc;
/* rgb */ color: rgb(177, 119, 252);
/* oklch */ color: oklch(68.7% 0.193 301.7);
Tailwind
colors: {
  custom: {
    50: '#cca0fe',
    500: '#b177fc',
    950: '#000000',
  },
}
SCSS
$custom: #b177fc;
$custom-light: #cca0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b177fc",
  "rgb": {
    "r": 177,
    "g": 119,
    "b": 252
  },
  "hsl": {
    "h": 266.165,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68652,
    "c": 0.19299,
    "h": 301.7
  },
  "luminance": 0.29569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B177FC

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

Preview Lab → · Contrast checker → · Palette generator →

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