#B277E7#B277E7

#B277E7 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.6% C 0.168 H 306.8°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#B277E7
RGBrgb(178, 119, 231)
HSLhsl(272, 70%, 69%)
HSVhsv(272, 48%, 91%)
CMYKcmyk(22.9%, 48.5%, 0%, 9.4%)
CIE-LABlab(60.27, 43.97, -48.21)
CIE-LCHlch(60.27, 65.25, 312.37°)
OKLaboklab(67.57% 0.1008 -0.1349)
OKLCHoklch(67.57% 0.168 306.8)
XYZxyz(39.3778, 28.4285, 78.9986)
Luminance0.2843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277E7 #ACE777
analogous
#7A77E7 #B277E7 #E777E4
triadic
#B277E7 #E7B277 #77E7B2
tetradic
#B277E7 #E77A77 #ACE777 #77E4E7
square
#B277E7 #E77A77 #ACE777 #77E4E7
split-complementary
#B277E7 #E4E777 #77E77A
monochromatic
#7622C1 #9543DE #B277E7 #CFABF0 #EDDFF9

Accessibility & contrast

On white

3.14
#B277E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#B277E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277E7
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277E7#FFFFFF#000000##000000
##B277E71.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#588FEB
Deuteranopia (green-blind)
#6992E4
Tritanopia (blue-blind)
#AA8AA4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b277e7;
/* rgb */ color: rgb(178, 119, 231);
/* oklch */ color: oklch(67.6% 0.168 306.8);
Tailwind
colors: {
  custom: {
    50: '#cba0ef',
    500: '#b277e7',
    950: '#000000',
  },
}
SCSS
$custom: #b277e7;
$custom-light: #cba0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b277e7",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 231
  },
  "hsl": {
    "h": 271.607,
    "s": 70,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67569,
    "c": 0.16843,
    "h": 306.8
  },
  "luminance": 0.28428
}

Semantic roles & 50–950 ramp

primary
#B277E7
secondary
#DCEECC
accent
#D2146E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F16
muted
#827E84

Preview Lab

Preview with #B277E7

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

Preview Lab → · Contrast checker → · Palette generator →

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