#B177DF#B177DF

#B177DF is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.0% C 0.159 H 308.4°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#B177DF
RGBrgb(177, 119, 223)
HSLhsl(273, 62%, 67%)
HSVhsv(273, 47%, 87%)
CMYKcmyk(20.6%, 46.6%, 0%, 12.5%)
CIE-LABlab(59.77, 41.89, -44.55)
CIE-LCHlch(59.77, 61.15, 313.24°)
OKLaboklab(67.04% 0.0986 -0.1243)
OKLCHoklch(67.04% 0.159 308.4)
XYZxyz(38.0450, 27.8690, 73.1728)
Luminance0.2787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B177DF #A5DF77
analogous
#7D77DF #B177DF #DF77D9
triadic
#B177DF #DFB177 #77DFB1
tetradic
#B177DF #DF7D77 #A5DF77 #77D9DF
square
#B177DF #DF7D77 #A5DF77 #77D9DF
split-complementary
#B177DF #D9DF77 #77DF7D
monochromatic
#762AB2 #9545D3 #B177DF #CDA9EB #EADAF6

Accessibility & contrast

On white

3.19
#B177DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#B177DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B177DF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B177DF#FFFFFF#000000##000000
##B177DF1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8EE3
Deuteranopia (green-blind)
#6D91DC
Tritanopia (blue-blind)
#AB88A0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b177df;
/* rgb */ color: rgb(177, 119, 223);
/* oklch */ color: oklch(67.0% 0.159 308.4);
Tailwind
colors: {
  custom: {
    50: '#ca9fe9',
    500: '#b177df',
    950: '#000000',
  },
}
SCSS
$custom: #b177df;
$custom-light: #ca9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#b177df",
  "rgb": {
    "r": 177,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 273.462,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6704,
    "c": 0.15867,
    "h": 308.4
  },
  "luminance": 0.27868
}

Semantic roles & 50–950 ramp

primary
#B177DF
secondary
#D7E9C8
accent
#CA1C69
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #B177DF

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

Preview Lab → · Contrast checker → · Palette generator →

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