#B277F8#B277F8

#B277F8 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.5% C 0.188 H 302.9°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#B277F8
RGBrgb(178, 119, 248)
HSLhsl(267, 90%, 72%)
HSVhsv(267, 52%, 97%)
CMYKcmyk(28.2%, 52%, 0%, 2.7%)
CIE-LABlab(61.16, 47.92, -56.22)
CIE-LCHlch(61.16, 73.87, 310.44°)
OKLaboklab(68.52% 0.1023 -0.1583)
OKLCHoklch(68.52% 0.188 302.9)
XYZxyz(41.8964, 29.4360, 92.2632)
Luminance0.2944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277F8 #BDF877
analogous
#777DF8 #B277F8 #F377F8
triadic
#B277F8 #F8B277 #77F8B2
tetradic
#B277F8 #F8777D #BDF877 #77F8F3
square
#B277F8 #F8777D #BDF877 #77F8F3
split-complementary
#B277F8 #F8F377 #7DF877
monochromatic
#710CE9 #913DF5 #B277F8 #D3B1FB #EFE2FE

Accessibility & contrast

On white

3.05
#B277F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#B277F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277F8
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277F8#FFFFFF#000000##000000
##B277F81.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B92FC
Deuteranopia (green-blind)
#5D93F5
Tritanopia (blue-blind)
#A58FAC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b277f8;
/* rgb */ color: rgb(178, 119, 248);
/* oklch */ color: oklch(68.5% 0.188 302.9);
Tailwind
colors: {
  custom: {
    50: '#cca0fb',
    500: '#b277f8',
    950: '#000000',
  },
}
SCSS
$custom: #b277f8;
$custom-light: #cca0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b277f8",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 248
  },
  "hsl": {
    "h": 267.442,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68519,
    "c": 0.18848,
    "h": 302.9
  },
  "luminance": 0.29436
}

Semantic roles & 50–950 ramp

primary
#B277F8
secondary
#E7F6D5
accent
#E6007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B277F8

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

Preview Lab → · Contrast checker → · Palette generator →

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