#B177DC#B177DC

#B177DC is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.9% C 0.155 H 309.3°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B177DC
RGBrgb(177, 119, 220)
HSLhsl(274, 59%, 66%)
HSVhsv(274, 46%, 86%)
CMYKcmyk(19.5%, 45.9%, 0%, 13.7%)
CIE-LABlab(59.62, 41.22, -43.09)
CIE-LCHlch(59.62, 59.64, 313.73°)
OKLaboklab(66.88% 0.0982 -0.1201)
OKLCHoklch(66.88% 0.155 309.3)
XYZxyz(37.6441, 27.7086, 71.0615)
Luminance0.2771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B177DC #A2DC77
analogous
#7F77DC #B177DC #DC77D5
triadic
#B177DC #DCB177 #77DCB1
tetradic
#B177DC #DC7F77 #A2DC77 #77D5DC
square
#B177DC #DC7F77 #A2DC77 #77D5DC
split-complementary
#B177DC #D5DC77 #77DC7F
monochromatic
#762CAC #9546CF #B177DC #CDA8E9 #E9D8F5

Accessibility & contrast

On white

3.21
#B177DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#B177DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B177DC
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B177DC#FFFFFF#000000##000000
##B177DC1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DE0
Deuteranopia (green-blind)
#6E91D9
Tritanopia (blue-blind)
#AC879F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b177dc;
/* rgb */ color: rgb(177, 119, 220);
/* oklch */ color: oklch(66.9% 0.155 309.3);
Tailwind
colors: {
  custom: {
    50: '#ca9fe7',
    500: '#b177dc',
    950: '#000000',
  },
}
SCSS
$custom: #b177dc;
$custom-light: #ca9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#b177dc",
  "rgb": {
    "r": 177,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 274.455,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66884,
    "c": 0.15514,
    "h": 309.3
  },
  "luminance": 0.27708
}

Semantic roles & 50–950 ramp

primary
#B177DC
secondary
#D5E8C7
accent
#C71F66
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #B177DC

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

Preview Lab → · Contrast checker → · Palette generator →

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