#B277CB#B277CB

#B277CB is a light, vivid purple. Relative luminance 0.270; OKLCH L 66.1% C 0.136 H 315.3°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B277CB
RGBrgb(178, 119, 203)
HSLhsl(282, 45%, 63%)
HSVhsv(282, 41%, 80%)
CMYKcmyk(12.3%, 41.4%, 0%, 20.4%)
CIE-LABlab(58.95, 37.82, -34.58)
CIE-LCHlch(58.95, 51.25, 317.57°)
OKLaboklab(66.15% 0.0965 -0.0955)
OKLCHoklch(66.15% 0.136 315.3)
XYZxyz(35.7348, 26.9713, 59.8119)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277CB #90CB77
analogous
#8877CB #B277CB #CB77BA
triadic
#B277CB #CBB277 #77CBB2
tetradic
#B277CB #CB8877 #90CB77 #77BACB
square
#B277CB #CB8877 #90CB77 #77BACB
split-complementary
#B277CB #BACB77 #77CB88
monochromatic
#763790 #994BBA #B277CB #CBA3DC #E4D0ED

Accessibility & contrast

On white

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

On black

6.39
#B277CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277CB
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277CB#FFFFFF#000000##000000
##B277CB1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACE
Deuteranopia (green-blind)
#7890C9
Tritanopia (blue-blind)
#B18297
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b277cb;
/* rgb */ color: rgb(178, 119, 203);
/* oklch */ color: oklch(66.1% 0.136 315.3);
Tailwind
colors: {
  custom: {
    50: '#ca9fdb',
    500: '#b277cb',
    950: '#000000',
  },
}
SCSS
$custom: #b277cb;
$custom-light: #ca9fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b277cb",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 282.143,
    "s": 44.681,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66145,
    "c": 0.13577,
    "h": 315.3
  },
  "luminance": 0.2697
}

Semantic roles & 50–950 ramp

primary
#B277CB
secondary
#C9DEC0
accent
#B82E57
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #B277CB

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

Preview Lab → · Contrast checker → · Palette generator →

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