#B277D9#B277D9

#B277D9 is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.8% C 0.152 H 310.6°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B277D9
RGBrgb(178, 119, 217)
HSLhsl(276, 56%, 66%)
HSVhsv(276, 45%, 85%)
CMYKcmyk(18%, 45.2%, 0%, 14.9%)
CIE-LABlab(59.59, 40.84, -41.46)
CIE-LCHlch(59.59, 58.20, 314.57°)
OKLaboklab(66.83% 0.099 -0.1153)
OKLCHoklch(66.83% 0.152 310.6)
XYZxyz(37.4790, 27.6690, 68.9985)
Luminance0.2767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277D9 #9ED977
analogous
#8177D9 #B277D9 #D977CF
triadic
#B277D9 #D9B277 #77D9B2
tetradic
#B277D9 #D98177 #9ED977 #77CFD9
square
#B277D9 #D98177 #9ED977 #77CFD9
split-complementary
#B277D9 #CFD977 #77D981
monochromatic
#772FA7 #9747CC #B277D9 #CDA7E6 #E8D7F4

Accessibility & contrast

On white

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

On black

6.53
#B277D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277D9
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277D9#FFFFFF#000000##000000
##B277D91.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#618DDC
Deuteranopia (green-blind)
#7191D6
Tritanopia (blue-blind)
#AE869E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b277d9;
/* rgb */ color: rgb(178, 119, 217);
/* oklch */ color: oklch(66.8% 0.152 310.6);
Tailwind
colors: {
  custom: {
    50: '#cb9fe5',
    500: '#b277d9',
    950: '#000000',
  },
}
SCSS
$custom: #b277d9;
$custom-light: #cb9fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#b277d9",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 217
  },
  "hsl": {
    "h": 276.122,
    "s": 56.322,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66835,
    "c": 0.15197,
    "h": 310.6
  },
  "luminance": 0.27668
}

Semantic roles & 50–950 ramp

primary
#B277D9
secondary
#D3E6C6
accent
#C42262
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #B277D9

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

Preview Lab → · Contrast checker → · Palette generator →

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