#B277AF#B277AF

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

Color values

HEX#B277AF
RGBrgb(178, 119, 175)
HSLhsl(303, 28%, 58%)
HSVhsv(303, 33%, 70%)
CMYKcmyk(0%, 33.1%, 1.7%, 30.2%)
CIE-LABlab(57.80, 32.21, -20.39)
CIE-LCHlch(57.80, 38.12, 327.67°)
OKLaboklab(64.91% 0.0899 -0.0552)
OKLCHoklch(64.91% 0.105 328.5)
XYZxyz(32.6942, 25.7551, 43.7982)
Luminance0.2575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277AF #77B27A
analogous
#9777B2 #B277AF #B27791
triadic
#B277AF #AFB277 #77AFB2
tetradic
#B277AF #B29777 #77B27A #7791B2
square
#B277AF #B29777 #77B27A #7791B2
split-complementary
#B277AF #91B277 #77B297
monochromatic
#6F3F6D #975593 #B277AF #C89EC6 #DEC5DD

Accessibility & contrast

On white

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

On black

6.15
#B277AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277AF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277AF#FFFFFF#000000##000000
##B277AF1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7486B1
Deuteranopia (green-blind)
#828EAD
Tritanopia (blue-blind)
#B67C8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b277af;
/* rgb */ color: rgb(178, 119, 175);
/* oklch */ color: oklch(64.9% 0.105 328.5);
Tailwind
colors: {
  custom: {
    50: '#ca9fc7',
    500: '#b277af',
    950: '#000000',
  },
}
SCSS
$custom: #b277af;
$custom-light: #ca9fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#b277af",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 175
  },
  "hsl": {
    "h": 303.051,
    "s": 27.7,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64905,
    "c": 0.10548,
    "h": 328.5
  },
  "luminance": 0.25754
}

Semantic roles & 50–950 ramp

primary
#B277AF
secondary
#B7CEB8
accent
#C46964
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130E13
muted
#827E82

Preview Lab

Preview with #B277AF

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

Preview Lab → · Contrast checker → · Palette generator →

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