#B277E2#B277E2

#B277E2 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.3% C 0.163 H 308.1°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#B277E2
RGBrgb(178, 119, 226)
HSLhsl(273, 65%, 68%)
HSVhsv(273, 47%, 89%)
CMYKcmyk(21.2%, 47.3%, 0%, 11.4%)
CIE-LABlab(60.02, 42.84, -45.81)
CIE-LCHlch(60.02, 62.72, 313.08°)
OKLaboklab(67.3% 0.1002 -0.128)
OKLCHoklch(67.3% 0.163 308.1)
XYZxyz(38.6817, 28.1501, 75.3325)
Luminance0.2815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277E2 #A7E277
analogous
#7C77E2 #B277E2 #E277DC
triadic
#B277E2 #E2B277 #77E2B2
tetradic
#B277E2 #E27C77 #A7E277 #77DCE2
square
#B277E2 #E27C77 #A7E277 #77DCE2
split-complementary
#B277E2 #DCE277 #77E27C
monochromatic
#7727B7 #9545D7 #B277E2 #CFA9ED #EBDCF8

Accessibility & contrast

On white

3.17
#B277E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#B277E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277E2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277E2#FFFFFF#000000##000000
##B277E21.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8EE6
Deuteranopia (green-blind)
#6C91DF
Tritanopia (blue-blind)
#AB89A2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b277e2;
/* rgb */ color: rgb(178, 119, 226);
/* oklch */ color: oklch(67.3% 0.163 308.1);
Tailwind
colors: {
  custom: {
    50: '#cb9feb',
    500: '#b277e2',
    950: '#000000',
  },
}
SCSS
$custom: #b277e2;
$custom-light: #cb9feb;
$custom-dark: #000000;
JSON
{
  "hex": "#b277e2",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 226
  },
  "hsl": {
    "h": 273.084,
    "s": 64.848,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67302,
    "c": 0.16254,
    "h": 308.1
  },
  "luminance": 0.2815
}

Semantic roles & 50–950 ramp

primary
#B277E2
secondary
#D9EBCA
accent
#CD196A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #B277E2

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

Preview Lab → · Contrast checker → · Palette generator →

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