#B277F9#B277F9

#B277F9 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.6% C 0.190 H 302.7°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#B277F9
RGBrgb(178, 119, 249)
HSLhsl(267, 92%, 72%)
HSVhsv(267, 52%, 98%)
CMYKcmyk(28.5%, 52.2%, 0%, 2.4%)
CIE-LABlab(61.22, 48.16, -56.68)
CIE-LCHlch(61.22, 74.37, 310.35°)
OKLaboklab(68.58% 0.1023 -0.1597)
OKLCHoklch(68.58% 0.19 302.7)
XYZxyz(42.0520, 29.4982, 93.0825)
Luminance0.2950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277F9 #BEF977
analogous
#777DF9 #B277F9 #F377F9
triadic
#B277F9 #F9B277 #77F9B2
tetradic
#B277F9 #F9777D #BEF977 #77F9F3
square
#B277F9 #F9777D #BEF977 #77F9F3
split-complementary
#B277F9 #F9F377 #7DF977
monochromatic
#700AEB #913CF6 #B277F9 #D3B2FC #EEE2FE

Accessibility & contrast

On white

3.04
#B277F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#B277F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277F9
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277F9#FFFFFF#000000##000000
##B277F91.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A93FD
Deuteranopia (green-blind)
#5C93F6
Tritanopia (blue-blind)
#A58FAD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b277f9;
/* rgb */ color: rgb(178, 119, 249);
/* oklch */ color: oklch(68.6% 0.190 302.7);
Tailwind
colors: {
  custom: {
    50: '#cca0fc',
    500: '#b277f9',
    950: '#000000',
  },
}
SCSS
$custom: #b277f9;
$custom-light: #cca0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b277f9",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 249
  },
  "hsl": {
    "h": 267.231,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68577,
    "c": 0.18965,
    "h": 302.7
  },
  "luminance": 0.29498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B277F9

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

Preview Lab → · Contrast checker → · Palette generator →

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