#B277CA#B277CA

#B277CA is a light, vivid purple. Relative luminance 0.269; OKLCH L 66.1% C 0.135 H 315.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B277CA
RGBrgb(178, 119, 202)
HSLhsl(283, 44%, 63%)
HSVhsv(283, 41%, 79%)
CMYKcmyk(11.9%, 41.1%, 0%, 20.8%)
CIE-LABlab(58.90, 37.61, -34.08)
CIE-LCHlch(58.90, 50.75, 317.82°)
OKLaboklab(66.1% 0.0963 -0.094)
OKLCHoklch(66.1% 0.135 315.7)
XYZxyz(35.6160, 26.9238, 59.1863)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277CA #8FCA77
analogous
#8977CA #B277CA #CA77B8
triadic
#B277CA #CAB277 #77CAB2
tetradic
#B277CA #CA8977 #8FCA77 #77B8CA
square
#B277CA #CA8977 #8FCA77 #77B8CA
split-complementary
#B277CA #B8CA77 #77CA89
monochromatic
#76388F #994BB9 #B277CA #CBA3DB #E4CFEC

Accessibility & contrast

On white

3.29
#B277CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#B277CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277CA
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277CA#FFFFFF#000000##000000
##B277CA1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACD
Deuteranopia (green-blind)
#788FC8
Tritanopia (blue-blind)
#B18297
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b277ca;
/* rgb */ color: rgb(178, 119, 202);
/* oklch */ color: oklch(66.1% 0.135 315.7);
Tailwind
colors: {
  custom: {
    50: '#ca9fda',
    500: '#b277ca',
    950: '#000000',
  },
}
SCSS
$custom: #b277ca;
$custom-light: #ca9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#b277ca",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 282.651,
    "s": 43.915,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66097,
    "c": 0.13464,
    "h": 315.7
  },
  "luminance": 0.26923
}

Semantic roles & 50–950 ramp

primary
#B277CA
secondary
#C8DDBF
accent
#B72E56
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #B277CA

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

Preview Lab → · Contrast checker → · Palette generator →

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