#B277CC#B277CC

#B277CC is a light, vivid purple. Relative luminance 0.270; OKLCH L 66.2% C 0.137 H 314.9°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B277CC
RGBrgb(178, 119, 204)
HSLhsl(282, 45%, 63%)
HSVhsv(282, 42%, 80%)
CMYKcmyk(12.7%, 41.7%, 0%, 20%)
CIE-LABlab(58.99, 38.03, -35.07)
CIE-LCHlch(58.99, 51.74, 317.32°)
OKLaboklab(66.19% 0.0967 -0.0969)
OKLCHoklch(66.19% 0.137 314.9)
XYZxyz(35.8543, 27.0191, 60.4415)
Luminance0.2702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277CC #91CC77
analogous
#8777CC #B277CC #CC77BB
triadic
#B277CC #CCB277 #77CCB2
tetradic
#B277CC #CC8777 #91CC77 #77BBCC
square
#B277CC #CC8777 #91CC77 #77BBCC
split-complementary
#B277CC #BBCC77 #77CC87
monochromatic
#763792 #994ABB #B277CC #CBA4DD #E4D0ED

Accessibility & contrast

On white

3.28
#B277CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#B277CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277CC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277CC#FFFFFF#000000##000000
##B277CC1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACF
Deuteranopia (green-blind)
#7790CA
Tritanopia (blue-blind)
#B08398
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b277cc;
/* rgb */ color: rgb(178, 119, 204);
/* oklch */ color: oklch(66.2% 0.137 314.9);
Tailwind
colors: {
  custom: {
    50: '#ca9fdc',
    500: '#b277cc',
    950: '#000000',
  },
}
SCSS
$custom: #b277cc;
$custom-light: #ca9fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b277cc",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 281.647,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66192,
    "c": 0.13692,
    "h": 314.9
  },
  "luminance": 0.27018
}

Semantic roles & 50–950 ramp

primary
#B277CC
secondary
#CADFC0
accent
#B92D58
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #B277CC

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

Preview Lab → · Contrast checker → · Palette generator →

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