#B277AA#B277AA

#B277AA is a light, moderate purple. Relative luminance 0.256; OKLCH L 64.7% C 0.101 H 331.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B277AA
RGBrgb(178, 119, 170)
HSLhsl(308, 28%, 58%)
HSVhsv(308, 33%, 70%)
CMYKcmyk(0%, 33.1%, 4.5%, 30.2%)
CIE-LABlab(57.62, 31.28, -17.80)
CIE-LCHlch(57.62, 35.99, 330.36°)
OKLaboklab(64.7% 0.0885 -0.0479)
OKLCHoklch(64.7% 0.101 331.5)
XYZxyz(32.2122, 25.5623, 41.2597)
Luminance0.2556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277AA #77B27F
analogous
#9C77B2 #B277AA #B2778C
triadic
#B277AA #AAB277 #77AAB2
tetradic
#B277AA #B29C77 #77B27F #778CB2
square
#B277AA #B29C77 #77B27F #778CB2
split-complementary
#B277AA #8CB277 #77B29C
monochromatic
#6F3F69 #97558E #B277AA #C89EC2 #DEC5DB

Accessibility & contrast

On white

3.44
#B277AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#B277AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277AA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277AA#FFFFFF#000000##000000
##B277AA1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7685AC
Deuteranopia (green-blind)
#848DA8
Tritanopia (blue-blind)
#B77A89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b277aa;
/* rgb */ color: rgb(178, 119, 170);
/* oklch */ color: oklch(64.7% 0.101 331.5);
Tailwind
colors: {
  custom: {
    50: '#ca9fc3',
    500: '#b277aa',
    950: '#000000',
  },
}
SCSS
$custom: #b277aa;
$custom-light: #ca9fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b277aa",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 170
  },
  "hsl": {
    "h": 308.136,
    "s": 27.7,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64704,
    "c": 0.10062,
    "h": 331.5
  },
  "luminance": 0.25561
}

Semantic roles & 50–950 ramp

primary
#B277AA
secondary
#B7CEBA
accent
#C47164
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130E12
muted
#827E81

Preview Lab

Preview with #B277AA

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

Preview Lab → · Contrast checker → · Palette generator →

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