#B277CD#B277CD

#B277CD is a light, vivid purple. Relative luminance 0.271; OKLCH L 66.2% C 0.138 H 314.6°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#B277CD
RGBrgb(178, 119, 205)
HSLhsl(281, 46%, 64%)
HSVhsv(281, 42%, 80%)
CMYKcmyk(13.2%, 42%, 0%, 19.6%)
CIE-LABlab(59.04, 38.25, -35.57)
CIE-LCHlch(59.04, 52.23, 317.08°)
OKLaboklab(66.24% 0.0969 -0.0983)
OKLCHoklch(66.24% 0.138 314.6)
XYZxyz(35.9746, 27.0672, 61.0752)
Luminance0.2707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277CD #92CD77
analogous
#8777CD #B277CD #CD77BD
triadic
#B277CD #CDB277 #77CDB2
tetradic
#B277CD #CD8777 #92CD77 #77BDCD
square
#B277CD #CD8777 #92CD77 #77BDCD
split-complementary
#B277CD #BDCD77 #77CD87
monochromatic
#763693 #994ABD #B277CD #CBA4DD #E5D0EE

Accessibility & contrast

On white

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

On black

6.41
#B277CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277CD
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277CD#FFFFFF#000000##000000
##B277CD1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD0
Deuteranopia (green-blind)
#7790CB
Tritanopia (blue-blind)
#B08398
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b277cd;
/* rgb */ color: rgb(178, 119, 205);
/* oklch */ color: oklch(66.2% 0.138 314.6);
Tailwind
colors: {
  custom: {
    50: '#ca9fdc',
    500: '#b277cd',
    950: '#000000',
  },
}
SCSS
$custom: #b277cd;
$custom-light: #ca9fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b277cd",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 281.163,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6624,
    "c": 0.13807,
    "h": 314.6
  },
  "luminance": 0.27066
}

Semantic roles & 50–950 ramp

primary
#B277CD
secondary
#CADFC1
accent
#B92C58
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #B277CD

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

Preview Lab → · Contrast checker → · Palette generator →

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