#B277DC#B277DC

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

Color values

HEX#B277DC
RGBrgb(178, 119, 220)
HSLhsl(275, 59%, 66%)
HSVhsv(275, 46%, 86%)
CMYKcmyk(19.1%, 45.9%, 0%, 13.7%)
CIE-LABlab(59.73, 41.50, -42.92)
CIE-LCHlch(59.73, 59.70, 314.04°)
OKLaboklab(66.99% 0.0994 -0.1196)
OKLCHoklch(66.99% 0.155 309.7)
XYZxyz(37.8728, 27.8265, 71.0722)
Luminance0.2783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277DC #A1DC77
analogous
#8077DC #B277DC #DC77D3
triadic
#B277DC #DCB277 #77DCB2
tetradic
#B277DC #DC8077 #A1DC77 #77D3DC
square
#B277DC #DC8077 #A1DC77 #77D3DC
split-complementary
#B277DC #D3DC77 #77DC80
monochromatic
#772CAC #9646CF #B277DC #CEA8E9 #E9D8F5

Accessibility & contrast

On white

3.20
#B277DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B277DC#FFFFFF#000000##000000
##B277DC1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DE0
Deuteranopia (green-blind)
#6F91D9
Tritanopia (blue-blind)
#AD879F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b277dc;
/* rgb */ color: rgb(178, 119, 220);
/* oklch */ color: oklch(67.0% 0.155 309.7);
Tailwind
colors: {
  custom: {
    50: '#cb9fe7',
    500: '#b277dc',
    950: '#000000',
  },
}
SCSS
$custom: #b277dc;
$custom-light: #cb9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#b277dc",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 275.05,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66988,
    "c": 0.15549,
    "h": 309.7
  },
  "luminance": 0.27826
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B277DC

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

Preview Lab → · Contrast checker → · Palette generator →

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