#B277EA#B277EA

#B277EA is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.7% C 0.172 H 306.0°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B277EA
RGBrgb(178, 119, 234)
HSLhsl(271, 73%, 69%)
HSVhsv(271, 49%, 92%)
CMYKcmyk(23.9%, 49.1%, 0%, 8.2%)
CIE-LABlab(60.43, 44.66, -49.64)
CIE-LCHlch(60.43, 66.77, 311.98°)
OKLaboklab(67.73% 0.1011 -0.1391)
OKLCHoklch(67.73% 0.172 306)
XYZxyz(39.8051, 28.5994, 81.2492)
Luminance0.2860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277EA #AFEA77
analogous
#7977EA #B277EA #EA77E8
triadic
#B277EA #EAB277 #77EAB2
tetradic
#B277EA #EA7977 #AFEA77 #77E8EA
square
#B277EA #EA7977 #AFEA77 #77E8EA
split-complementary
#B277EA #E8EA77 #77EA79
monochromatic
#761FC8 #9442E2 #B277EA #D0ACF2 #EEE1FA

Accessibility & contrast

On white

3.13
#B277EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#B277EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277EA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277EA#FFFFFF#000000##000000
##B277EA1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EE
Deuteranopia (green-blind)
#6792E7
Tritanopia (blue-blind)
#A98BA6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b277ea;
/* rgb */ color: rgb(178, 119, 234);
/* oklch */ color: oklch(67.7% 0.172 306.0);
Tailwind
colors: {
  custom: {
    50: '#cba0f1',
    500: '#b277ea',
    950: '#000000',
  },
}
SCSS
$custom: #b277ea;
$custom-light: #cba0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b277ea",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 270.783,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67733,
    "c": 0.17196,
    "h": 306
  },
  "luminance": 0.28599
}

Semantic roles & 50–950 ramp

primary
#B277EA
secondary
#DEEFCE
accent
#D51070
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F17
muted
#827E85

Preview Lab

Preview with #B277EA

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

Preview Lab → · Contrast checker → · Palette generator →

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