#B277EB#B277EB

#B277EB is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.8% C 0.173 H 305.8°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#B277EB
RGBrgb(178, 119, 235)
HSLhsl(271, 74%, 69%)
HSVhsv(271, 49%, 92%)
CMYKcmyk(24.3%, 49.4%, 0%, 7.8%)
CIE-LABlab(60.48, 44.89, -50.11)
CIE-LCHlch(60.48, 67.28, 311.86°)
OKLaboklab(67.79% 0.1012 -0.1405)
OKLCHoklch(67.79% 0.173 305.8)
XYZxyz(39.9492, 28.6571, 82.0079)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277EB #B0EB77
analogous
#7877EB #B277EB #EB77EA
triadic
#B277EB #EBB277 #77EBB2
tetradic
#B277EB #EB7877 #B0EB77 #77EAEB
square
#B277EB #EB7877 #B0EB77 #77EAEB
split-complementary
#B277EB #EAEB77 #77EB78
monochromatic
#751ECA #9442E3 #B277EB #D0ACF3 #EEE2FB

Accessibility & contrast

On white

3.12
#B277EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#B277EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277EB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277EB#FFFFFF#000000##000000
##B277EB1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590EF
Deuteranopia (green-blind)
#6692E8
Tritanopia (blue-blind)
#A98BA6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b277eb;
/* rgb */ color: rgb(178, 119, 235);
/* oklch */ color: oklch(67.8% 0.173 305.8);
Tailwind
colors: {
  custom: {
    50: '#cba0f2',
    500: '#b277eb',
    950: '#000000',
  },
}
SCSS
$custom: #b277eb;
$custom-light: #cba0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b277eb",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 270.517,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67787,
    "c": 0.17315,
    "h": 305.8
  },
  "luminance": 0.28657
}

Semantic roles & 50–950 ramp

primary
#B277EB
secondary
#DFF0CE
accent
#D60F71
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F17
muted
#827E85

Preview Lab

Preview with #B277EB

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

Preview Lab → · Contrast checker → · Palette generator →

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