#B277DD#B277DD

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

Color values

HEX#B277DD
RGBrgb(178, 119, 221)
HSLhsl(275, 60%, 67%)
HSVhsv(275, 46%, 87%)
CMYKcmyk(19.5%, 46.2%, 0%, 13.3%)
CIE-LABlab(59.78, 41.72, -43.40)
CIE-LCHlch(59.78, 60.21, 313.87°)
OKLaboklab(67.04% 0.0995 -0.121)
OKLCHoklch(67.04% 0.157 309.4)
XYZxyz(38.0056, 27.8796, 71.7718)
Luminance0.2788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277DD #A2DD77
analogous
#7F77DD #B277DD #DD77D5
triadic
#B277DD #DDB277 #77DDB2
tetradic
#B277DD #DD7F77 #A2DD77 #77D5DD
square
#B277DD #DD7F77 #A2DD77 #77D5DD
split-complementary
#B277DD #D5DD77 #77DD7F
monochromatic
#772CAE #9646D1 #B277DD #CEA8E9 #E9D9F5

Accessibility & contrast

On white

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

On black

6.58
#B277DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277DD
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277DD#FFFFFF#000000##000000
##B277DD1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DE1
Deuteranopia (green-blind)
#6F91DA
Tritanopia (blue-blind)
#AD87A0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b277dd;
/* rgb */ color: rgb(178, 119, 221);
/* oklch */ color: oklch(67.0% 0.157 309.4);
Tailwind
colors: {
  custom: {
    50: '#cb9fe8',
    500: '#b277dd',
    950: '#000000',
  },
}
SCSS
$custom: #b277dd;
$custom-light: #cb9fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#b277dd",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 221
  },
  "hsl": {
    "h": 274.706,
    "s": 60,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6704,
    "c": 0.15666,
    "h": 309.4
  },
  "luminance": 0.27879
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B277DD

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

Preview Lab → · Contrast checker → · Palette generator →

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