#B277D2#B277D2

#B277D2 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.5% C 0.144 H 312.9°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B277D2
RGBrgb(178, 119, 210)
HSLhsl(279, 50%, 65%)
HSVhsv(279, 43%, 82%)
CMYKcmyk(15.2%, 43.3%, 0%, 17.6%)
CIE-LABlab(59.26, 39.31, -38.04)
CIE-LCHlch(59.26, 54.70, 315.95°)
OKLaboklab(66.48% 0.0978 -0.1054)
OKLCHoklch(66.48% 0.144 312.9)
XYZxyz(36.5878, 27.3125, 64.3047)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277D2 #97D277
analogous
#8577D2 #B277D2 #D277C5
triadic
#B277D2 #D2B277 #77D2B2
tetradic
#B277D2 #D28577 #97D277 #77C5D2
square
#B277D2 #D28577 #97D277 #77C5D2
split-complementary
#B277D2 #C5D277 #77D285
monochromatic
#77339B #9849C3 #B277D2 #CCA5E1 #E6D3F0

Accessibility & contrast

On white

3.25
#B277D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#B277D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277D2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277D2#FFFFFF#000000##000000
##B277D21.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#658BD5
Deuteranopia (green-blind)
#7490CF
Tritanopia (blue-blind)
#AF849B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b277d2;
/* rgb */ color: rgb(178, 119, 210);
/* oklch */ color: oklch(66.5% 0.144 312.9);
Tailwind
colors: {
  custom: {
    50: '#ca9fe0',
    500: '#b277d2',
    950: '#000000',
  },
}
SCSS
$custom: #b277d2;
$custom-light: #ca9fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#b277d2",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 210
  },
  "hsl": {
    "h": 278.901,
    "s": 50.276,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66484,
    "c": 0.14383,
    "h": 312.9
  },
  "luminance": 0.27312
}

Semantic roles & 50–950 ramp

primary
#B277D2
secondary
#CEE2C3
accent
#BE285D
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #B277D2

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

Preview Lab → · Contrast checker → · Palette generator →

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