#B277D3#B277D3

#B277D3 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.5% C 0.145 H 312.5°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B277D3
RGBrgb(178, 119, 211)
HSLhsl(278, 51%, 65%)
HSVhsv(278, 44%, 83%)
CMYKcmyk(15.6%, 43.6%, 0%, 17.3%)
CIE-LABlab(59.31, 39.53, -38.53)
CIE-LCHlch(59.31, 55.20, 315.74°)
OKLaboklab(66.53% 0.098 -0.1069)
OKLCHoklch(66.53% 0.145 312.5)
XYZxyz(36.7128, 27.3625, 64.9629)
Luminance0.2736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277D3 #98D377
analogous
#8477D3 #B277D3 #D377C6
triadic
#B277D3 #D3B277 #77D3B2
tetradic
#B277D3 #D38477 #98D377 #77C6D3
square
#B277D3 #D38477 #98D377 #77C6D3
split-complementary
#B277D3 #C6D377 #77D384
monochromatic
#77339D #9849C4 #B277D3 #CCA5E2 #E6D3F1

Accessibility & contrast

On white

3.24
#B277D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#B277D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277D3
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277D3#FFFFFF#000000##000000
##B277D31.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#648CD6
Deuteranopia (green-blind)
#7490D0
Tritanopia (blue-blind)
#AF859B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b277d3;
/* rgb */ color: rgb(178, 119, 211);
/* oklch */ color: oklch(66.5% 0.145 312.5);
Tailwind
colors: {
  custom: {
    50: '#ca9fe1',
    500: '#b277d3',
    950: '#000000',
  },
}
SCSS
$custom: #b277d3;
$custom-light: #ca9fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#b277d3",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 211
  },
  "hsl": {
    "h": 278.478,
    "s": 51.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66533,
    "c": 0.14499,
    "h": 312.5
  },
  "luminance": 0.27362
}

Semantic roles & 50–950 ramp

primary
#B277D3
secondary
#CEE3C3
accent
#BE275D
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #B277D3

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

Preview Lab → · Contrast checker → · Palette generator →

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