#B277F0#B277F0

#B277F0 is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.1% C 0.179 H 304.6°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#B277F0
RGBrgb(178, 119, 240)
HSLhsl(269, 80%, 70%)
HSVhsv(269, 50%, 94%)
CMYKcmyk(25.8%, 50.4%, 0%, 5.9%)
CIE-LABlab(60.74, 46.05, -52.47)
CIE-LCHlch(60.74, 69.81, 311.27°)
OKLaboklab(68.07% 0.1017 -0.1474)
OKLCHoklch(68.07% 0.179 304.6)
XYZxyz(40.6817, 28.9501, 85.8659)
Luminance0.2895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277F0 #B5F077
analogous
#7779F0 #B277F0 #EE77F0
triadic
#B277F0 #F0B277 #77F0B2
tetradic
#B277F0 #F07779 #B5F077 #77F0EE
square
#B277F0 #F07779 #B5F077 #77F0EE
split-complementary
#B277F0 #F0EE77 #79F077
monochromatic
#7418D5 #9340EA #B277F0 #D1AEF6 #EFE3FC

Accessibility & contrast

On white

3.09
#B277F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#B277F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277F0
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277F0#FFFFFF#000000##000000
##B277F01.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5291F4
Deuteranopia (green-blind)
#6393ED
Tritanopia (blue-blind)
#A88DA9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b277f0;
/* rgb */ color: rgb(178, 119, 240);
/* oklch */ color: oklch(68.1% 0.179 304.6);
Tailwind
colors: {
  custom: {
    50: '#cca0f5',
    500: '#b277f0',
    950: '#000000',
  },
}
SCSS
$custom: #b277f0;
$custom-light: #cca0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b277f0",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 240
  },
  "hsl": {
    "h": 269.256,
    "s": 80.132,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68065,
    "c": 0.17905,
    "h": 304.6
  },
  "luminance": 0.2895
}

Semantic roles & 50–950 ramp

primary
#B277F0
secondary
#E2F2D1
accent
#DC0975
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140F17
muted
#827E85

Preview Lab

Preview with #B277F0

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

Preview Lab → · Contrast checker → · Palette generator →

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