#B277FE#B277FE

#B277FE is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.9% C 0.196 H 301.7°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#B277FE
RGBrgb(178, 119, 254)
HSLhsl(266, 99%, 73%)
HSVhsv(266, 53%, 100%)
CMYKcmyk(29.9%, 53.1%, 0%, 0.4%)
CIE-LABlab(61.49, 49.34, -58.99)
CIE-LCHlch(61.49, 76.91, 309.91°)
OKLaboklab(68.87% 0.1026 -0.1664)
OKLCHoklch(68.87% 0.196 301.7)
XYZxyz(42.8422, 29.8143, 97.2444)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277FE #C3FE77
analogous
#777FFE #B277FE #F577FE
triadic
#B277FE #FEB277 #77FEB2
tetradic
#B277FE #FE777F #C3FE77 #77FEF5
square
#B277FE #FE777F #C3FE77 #77FEF5
split-complementary
#B277FE #FEF577 #7FFE77
monochromatic
#6E02F9 #903AFE #B277FE #D4B4FE #EEE1FF

Accessibility & contrast

On white

3.02
#B277FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#B277FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277FE
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277FE#FFFFFF#000000##000000
##B277FE1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#5794FB
Tritanopia (blue-blind)
#A391AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b277fe;
/* rgb */ color: rgb(178, 119, 254);
/* oklch */ color: oklch(68.9% 0.196 301.7);
Tailwind
colors: {
  custom: {
    50: '#cca0ff',
    500: '#b277fe',
    950: '#000000',
  },
}
SCSS
$custom: #b277fe;
$custom-light: #cca0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b277fe",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 266.222,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68869,
    "c": 0.19554,
    "h": 301.7
  },
  "luminance": 0.29814
}

Semantic roles & 50–950 ramp

primary
#B277FE
secondary
#E8F7D4
accent
#E60081
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F18
muted
#827E86

Preview Lab

Preview with #B277FE

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

Preview Lab → · Contrast checker → · Palette generator →

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