#B277EF#B277EF

#B277EF is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.0% C 0.178 H 304.8°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#B277EF
RGBrgb(178, 119, 239)
HSLhsl(270, 79%, 70%)
HSVhsv(270, 50%, 94%)
CMYKcmyk(25.5%, 50.2%, 0%, 6.3%)
CIE-LABlab(60.69, 45.81, -52.00)
CIE-LCHlch(60.69, 69.30, 311.38°)
OKLaboklab(68.01% 0.1016 -0.146)
OKLCHoklch(68.01% 0.178 304.8)
XYZxyz(40.5336, 28.8908, 85.0857)
Luminance0.2889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277EF #B4EF77
analogous
#7778EF #B277EF #EE77EF
triadic
#B277EF #EFB277 #77EFB2
tetradic
#B277EF #EF7778 #B4EF77 #77EFEE
square
#B277EF #EF7778 #B4EF77 #77EFEE
split-complementary
#B277EF #EFEE77 #78EF77
monochromatic
#7419D3 #9340E9 #B277EF #D1AEF5 #EFE4FC

Accessibility & contrast

On white

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

On black

6.78
#B277EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277EF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277EF#FFFFFF#000000##000000
##B277EF1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5291F3
Deuteranopia (green-blind)
#6393EC
Tritanopia (blue-blind)
#A88CA8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b277ef;
/* rgb */ color: rgb(178, 119, 239);
/* oklch */ color: oklch(68.0% 0.178 304.8);
Tailwind
colors: {
  custom: {
    50: '#cca0f5',
    500: '#b277ef',
    950: '#000000',
  },
}
SCSS
$custom: #b277ef;
$custom-light: #cca0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b277ef",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 269.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68009,
    "c": 0.17787,
    "h": 304.8
  },
  "luminance": 0.28891
}

Semantic roles & 50–950 ramp

primary
#B277EF
secondary
#E1F2D0
accent
#DB0A74
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140F17
muted
#827E85

Preview Lab

Preview with #B277EF

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

Preview Lab → · Contrast checker → · Palette generator →

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