#B277F3#B277F3

#B277F3 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.2% C 0.183 H 303.9°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#B277F3
RGBrgb(178, 119, 243)
HSLhsl(269, 84%, 71%)
HSVhsv(269, 51%, 95%)
CMYKcmyk(26.7%, 51%, 0%, 4.7%)
CIE-LABlab(60.90, 46.75, -53.88)
CIE-LCHlch(60.90, 71.33, 310.94°)
OKLaboklab(68.23% 0.1019 -0.1515)
OKLCHoklch(68.23% 0.183 303.9)
XYZxyz(41.1311, 29.1298, 88.2324)
Luminance0.2913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277F3 #B8F377
analogous
#777AF3 #B277F3 #F077F3
triadic
#B277F3 #F3B277 #77F3B2
tetradic
#B277F3 #F3777A #B8F377 #77F3F0
square
#B277F3 #F3777A #B8F377 #77F3F0
split-complementary
#B277F3 #F3F077 #7AF377
monochromatic
#7313DC #923FEE #B277F3 #D2AFF8 #EFE3FD

Accessibility & contrast

On white

3.08
#B277F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#B277F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277F3
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277F3#FFFFFF#000000##000000
##B277F31.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F91F7
Deuteranopia (green-blind)
#6093F0
Tritanopia (blue-blind)
#A78EAA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b277f3;
/* rgb */ color: rgb(178, 119, 243);
/* oklch */ color: oklch(68.2% 0.183 303.9);
Tailwind
colors: {
  custom: {
    50: '#cca0f7',
    500: '#b277f3',
    950: '#000000',
  },
}
SCSS
$custom: #b277f3;
$custom-light: #cca0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b277f3",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 243
  },
  "hsl": {
    "h": 268.548,
    "s": 83.784,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68234,
    "c": 0.18259,
    "h": 303.9
  },
  "luminance": 0.2913
}

Semantic roles & 50–950 ramp

primary
#B277F3
secondary
#E4F3D2
accent
#E00578
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B277F3

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

Preview Lab → · Contrast checker → · Palette generator →

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