#B277B0#B277B0

#B277B0 is a light, moderate purple. Relative luminance 0.258; OKLCH L 64.9% C 0.106 H 327.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B277B0
RGBrgb(178, 119, 176)
HSLhsl(302, 28%, 58%)
HSVhsv(302, 33%, 70%)
CMYKcmyk(0%, 33.1%, 1.1%, 30.2%)
CIE-LABlab(57.84, 32.40, -20.91)
CIE-LCHlch(57.84, 38.56, 327.17°)
OKLaboklab(64.95% 0.0902 -0.0566)
OKLCHoklch(64.95% 0.106 327.9)
XYZxyz(32.7928, 25.7945, 44.3173)
Luminance0.2579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277B0 #77B279
analogous
#9677B2 #B277B0 #B27792
triadic
#B277B0 #B0B277 #77B0B2
tetradic
#B277B0 #B29677 #77B279 #7792B2
square
#B277B0 #B29677 #77B279 #7792B2
split-complementary
#B277B0 #92B277 #77B296
monochromatic
#6F3F6E #975594 #B277B0 #C89EC7 #DEC5DD

Accessibility & contrast

On white

3.41
#B277B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#B277B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277B0
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277B0#FFFFFF#000000##000000
##B277B01.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7386B2
Deuteranopia (green-blind)
#828EAE
Tritanopia (blue-blind)
#B67C8C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b277b0;
/* rgb */ color: rgb(178, 119, 176);
/* oklch */ color: oklch(64.9% 0.106 327.9);
Tailwind
colors: {
  custom: {
    50: '#ca9fc7',
    500: '#b277b0',
    950: '#000000',
  },
}
SCSS
$custom: #b277b0;
$custom-light: #ca9fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#b277b0",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 176
  },
  "hsl": {
    "h": 302.034,
    "s": 27.7,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64946,
    "c": 0.10648,
    "h": 327.9
  },
  "luminance": 0.25793
}

Semantic roles & 50–950 ramp

primary
#B277B0
secondary
#B7CEB7
accent
#C46764
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130E13
muted
#827E82

Preview Lab

Preview with #B277B0

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

Preview Lab → · Contrast checker → · Palette generator →

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