#B277DA#B277DA

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

Color values

HEX#B277DA
RGBrgb(178, 119, 218)
HSLhsl(276, 57%, 66%)
HSVhsv(276, 45%, 85%)
CMYKcmyk(18.3%, 45.4%, 0%, 14.5%)
CIE-LABlab(59.64, 41.06, -41.95)
CIE-LCHlch(59.64, 58.70, 314.39°)
OKLaboklab(66.89% 0.0991 -0.1167)
OKLCHoklch(66.89% 0.153 310.3)
XYZxyz(37.6095, 27.7212, 69.6855)
Luminance0.2772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277DA #9FDA77
analogous
#8077DA #B277DA #DA77D0
triadic
#B277DA #DAB277 #77DAB2
tetradic
#B277DA #DA8077 #9FDA77 #77D0DA
square
#B277DA #DA8077 #9FDA77 #77D0DA
split-complementary
#B277DA #D0DA77 #77DA80
monochromatic
#772EA9 #9747CD #B277DA #CDA7E7 #E8D7F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B277DA#FFFFFF#000000##000000
##B277DA1.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)
#618DDE
Deuteranopia (green-blind)
#7091D7
Tritanopia (blue-blind)
#AD869E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b277da;
/* rgb */ color: rgb(178, 119, 218);
/* oklch */ color: oklch(66.9% 0.153 310.3);
Tailwind
colors: {
  custom: {
    50: '#cb9fe6',
    500: '#b277da',
    950: '#000000',
  },
}
SCSS
$custom: #b277da;
$custom-light: #cb9fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#b277da",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 218
  },
  "hsl": {
    "h": 275.758,
    "s": 57.225,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66886,
    "c": 0.15314,
    "h": 310.3
  },
  "luminance": 0.27721
}

Semantic roles & 50–950 ramp

primary
#B277DA
secondary
#D3E7C6
accent
#C52163
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #B277DA

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

Preview Lab → · Contrast checker → · Palette generator →

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