#B277CE#B277CE

#B277CE is a light, vivid purple. Relative luminance 0.271; OKLCH L 66.3% C 0.139 H 314.2°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#B277CE
RGBrgb(178, 119, 206)
HSLhsl(281, 47%, 64%)
HSVhsv(281, 42%, 81%)
CMYKcmyk(13.6%, 42.2%, 0%, 19.2%)
CIE-LABlab(59.08, 38.46, -36.06)
CIE-LCHlch(59.08, 52.72, 316.84°)
OKLaboklab(66.29% 0.0971 -0.0998)
OKLCHoklch(66.29% 0.139 314.2)
XYZxyz(36.0957, 27.1157, 61.7129)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277CE #93CE77
analogous
#8677CE #B277CE #CE77BE
triadic
#B277CE #CEB277 #77CEB2
tetradic
#B277CE #CE8677 #93CE77 #77BECE
square
#B277CE #CE8677 #93CE77 #77BECE
split-complementary
#B277CE #BECE77 #77CE86
monochromatic
#763695 #994ABE #B277CE #CBA4DE #E5D1EE

Accessibility & contrast

On white

3.27
#B277CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#B277CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277CE
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277CE#FFFFFF#000000##000000
##B277CE1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD1
Deuteranopia (green-blind)
#7690CC
Tritanopia (blue-blind)
#B08399
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b277ce;
/* rgb */ color: rgb(178, 119, 206);
/* oklch */ color: oklch(66.3% 0.139 314.2);
Tailwind
colors: {
  custom: {
    50: '#ca9fdd',
    500: '#b277ce',
    950: '#000000',
  },
}
SCSS
$custom: #b277ce;
$custom-light: #ca9fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b277ce",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 206
  },
  "hsl": {
    "h": 280.69,
    "s": 47.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66289,
    "c": 0.13921,
    "h": 314.2
  },
  "luminance": 0.27115
}

Semantic roles & 50–950 ramp

primary
#B277CE
secondary
#CBE0C1
accent
#BA2B59
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #B277CE

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

Preview Lab → · Contrast checker → · Palette generator →

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