#B277DE#B277DE

#B277DE is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.1% C 0.158 H 309.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#B277DE
RGBrgb(178, 119, 222)
HSLhsl(274, 61%, 67%)
HSVhsv(274, 46%, 87%)
CMYKcmyk(19.8%, 46.4%, 0%, 12.9%)
CIE-LABlab(59.83, 41.95, -43.89)
CIE-LCHlch(59.83, 60.71, 313.70°)
OKLaboklab(67.09% 0.0997 -0.1224)
OKLCHoklch(67.09% 0.158 309.2)
XYZxyz(38.1392, 27.9331, 72.4755)
Luminance0.2793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277DE #A3DE77
analogous
#7F77DE #B277DE #DE77D7
triadic
#B277DE #DEB277 #77DEB2
tetradic
#B277DE #DE7F77 #A3DE77 #77D7DE
square
#B277DE #DE7F77 #A3DE77 #77D7DE
split-complementary
#B277DE #D7DE77 #77DE7F
monochromatic
#772BB0 #9646D2 #B277DE #CEA8EA #EADAF6

Accessibility & contrast

On white

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

On black

6.59
#B277DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277DE
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277DE#FFFFFF#000000##000000
##B277DE1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8EE2
Deuteranopia (green-blind)
#6E91DB
Tritanopia (blue-blind)
#AC88A0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b277de;
/* rgb */ color: rgb(178, 119, 222);
/* oklch */ color: oklch(67.1% 0.158 309.2);
Tailwind
colors: {
  custom: {
    50: '#cb9fe9',
    500: '#b277de',
    950: '#000000',
  },
}
SCSS
$custom: #b277de;
$custom-light: #cb9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#b277de",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 222
  },
  "hsl": {
    "h": 274.369,
    "s": 60.947,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67092,
    "c": 0.15783,
    "h": 309.2
  },
  "luminance": 0.27933
}

Semantic roles & 50–950 ramp

primary
#B277DE
secondary
#D6E9C8
accent
#C91D66
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #B277DE

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

Preview Lab → · Contrast checker → · Palette generator →

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