#B277EE#B277EE

#B277EE is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.0% C 0.177 H 305.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#B277EE
RGBrgb(178, 119, 238)
HSLhsl(270, 78%, 70%)
HSVhsv(270, 50%, 93%)
CMYKcmyk(25.2%, 50%, 0%, 6.7%)
CIE-LABlab(60.63, 45.58, -51.53)
CIE-LCHlch(60.63, 68.80, 311.50°)
OKLaboklab(67.95% 0.1015 -0.1446)
OKLCHoklch(67.95% 0.177 305.1)
XYZxyz(40.3863, 28.8319, 84.3098)
Luminance0.2883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277EE #B3EE77
analogous
#7777EE #B277EE #EE77EE
triadic
#B277EE #EEB277 #77EEB2
tetradic
#B277EE #EE7777 #B3EE77 #77EEEE
square
#B277EE #EE7777 #B3EE77 #77EEEE
split-complementary
#B277EE #EEEE77 #77EE77
monochromatic
#751AD1 #9341E7 #B277EE #D1ADF5 #F0E4FC

Accessibility & contrast

On white

3.10
#B277EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#B277EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277EE
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277EE#FFFFFF#000000##000000
##B277EE1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5390F2
Deuteranopia (green-blind)
#6492EB
Tritanopia (blue-blind)
#A88CA8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b277ee;
/* rgb */ color: rgb(178, 119, 238);
/* oklch */ color: oklch(68.0% 0.177 305.1);
Tailwind
colors: {
  custom: {
    50: '#cca0f4',
    500: '#b277ee',
    950: '#000000',
  },
}
SCSS
$custom: #b277ee;
$custom-light: #cca0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b277ee",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 269.748,
    "s": 77.778,
    "l": 70
  },
  "oklch": {
    "l": 0.67953,
    "c": 0.17669,
    "h": 305.1
  },
  "luminance": 0.28832
}

Semantic roles & 50–950 ramp

primary
#B277EE
secondary
#E1F1D0
accent
#DA0B74
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F17
muted
#827E85

Preview Lab

Preview with #B277EE

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

Preview Lab → · Contrast checker → · Palette generator →

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