#B277E8#B277E8

#B277E8 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.6% C 0.170 H 306.5°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#B277E8
RGBrgb(178, 119, 232)
HSLhsl(271, 71%, 69%)
HSVhsv(271, 49%, 91%)
CMYKcmyk(23.3%, 48.7%, 0%, 9%)
CIE-LABlab(60.32, 44.20, -48.68)
CIE-LCHlch(60.32, 65.76, 312.24°)
OKLaboklab(67.62% 0.1009 -0.1363)
OKLCHoklch(67.62% 0.17 306.5)
XYZxyz(39.5194, 28.4852, 79.7445)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277E8 #ADE877
analogous
#7A77E8 #B277E8 #E877E6
triadic
#B277E8 #E8B277 #77E8B2
tetradic
#B277E8 #E87A77 #ADE877 #77E6E8
square
#B277E8 #E87A77 #ADE877 #77E6E8
split-complementary
#B277E8 #E6E877 #77E87A
monochromatic
#7621C4 #9443DF #B277E8 #D0ABF1 #EDE0FA

Accessibility & contrast

On white

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

On black

6.70
#B277E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277E8
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277E8#FFFFFF#000000##000000
##B277E81.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#588FEC
Deuteranopia (green-blind)
#6892E5
Tritanopia (blue-blind)
#AA8AA5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b277e8;
/* rgb */ color: rgb(178, 119, 232);
/* oklch */ color: oklch(67.6% 0.170 306.5);
Tailwind
colors: {
  custom: {
    50: '#cba0f0',
    500: '#b277e8',
    950: '#000000',
  },
}
SCSS
$custom: #b277e8;
$custom-light: #cba0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b277e8",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 232
  },
  "hsl": {
    "h": 271.327,
    "s": 71.069,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67624,
    "c": 0.16961,
    "h": 306.5
  },
  "luminance": 0.28485
}

Semantic roles & 50–950 ramp

primary
#B277E8
secondary
#DDEECD
accent
#D3126E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F16
muted
#827E84

Preview Lab

Preview with #B277E8

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

Preview Lab → · Contrast checker → · Palette generator →

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