#B277DB#B277DB

#B277DB is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.9% C 0.154 H 310.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B277DB
RGBrgb(178, 119, 219)
HSLhsl(275, 58%, 66%)
HSVhsv(275, 46%, 86%)
CMYKcmyk(18.7%, 45.7%, 0%, 14.1%)
CIE-LABlab(59.68, 41.28, -42.43)
CIE-LCHlch(59.68, 59.20, 314.21°)
OKLaboklab(66.94% 0.0993 -0.1182)
OKLCHoklch(66.94% 0.154 310)
XYZxyz(37.7407, 27.7737, 70.3768)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277DB #A0DB77
analogous
#8077DB #B277DB #DB77D2
triadic
#B277DB #DBB277 #77DBB2
tetradic
#B277DB #DB8077 #A0DB77 #77D2DB
square
#B277DB #DB8077 #A0DB77 #77D2DB
split-complementary
#B277DB #D2DB77 #77DB80
monochromatic
#772DAA #9747CE #B277DB #CDA7E8 #E9D8F5

Accessibility & contrast

On white

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

On black

6.55
#B277DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277DB
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277DB#FFFFFF#000000##000000
##B277DB1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DDF
Deuteranopia (green-blind)
#7091D8
Tritanopia (blue-blind)
#AD879F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b277db;
/* rgb */ color: rgb(178, 119, 219);
/* oklch */ color: oklch(66.9% 0.154 310.0);
Tailwind
colors: {
  custom: {
    50: '#cb9fe6',
    500: '#b277db',
    950: '#000000',
  },
}
SCSS
$custom: #b277db;
$custom-light: #cb9fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#b277db",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 275.4,
    "s": 58.14,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66937,
    "c": 0.15432,
    "h": 310
  },
  "luminance": 0.27773
}

Semantic roles & 50–950 ramp

primary
#B277DB
secondary
#D4E7C7
accent
#C62064
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #B277DB

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

Preview Lab → · Contrast checker → · Palette generator →

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