#B277FF#B277FF

#B277FF is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.9% C 0.197 H 301.5°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#B277FF
RGBrgb(178, 119, 255)
HSLhsl(266, 100%, 73%)
HSVhsv(266, 53%, 100%)
CMYKcmyk(30.2%, 53.3%, 0%, 0%)
CIE-LABlab(61.55, 49.58, -59.45)
CIE-LCHlch(61.55, 77.42, 309.83°)
OKLaboklab(68.93% 0.1027 -0.1678)
OKLCHoklch(68.93% 0.197 301.5)
XYZxyz(43.0027, 29.8785, 98.0900)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277FF #C4FF77
analogous
#7780FF #B277FF #F677FF
triadic
#B277FF #FFB277 #77FFB2
tetradic
#B277FF #FF7780 #C4FF77 #77FFF6
square
#B277FF #FF7780 #C4FF77 #77FFF6
split-complementary
#B277FF #FFF677 #80FF77
monochromatic
#6D00FC #8F3AFF #B277FF #D5B4FF #EEE0FF

Accessibility & contrast

On white

3.01
#B277FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#B277FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277FF
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277FF#FFFFFF#000000##000000
##B277FF1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4494FF
Deuteranopia (green-blind)
#5794FC
Tritanopia (blue-blind)
#A391B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b277ff;
/* rgb */ color: rgb(178, 119, 255);
/* oklch */ color: oklch(68.9% 0.197 301.5);
Tailwind
colors: {
  custom: {
    50: '#cda0ff',
    500: '#b277ff',
    950: '#000000',
  },
}
SCSS
$custom: #b277ff;
$custom-light: #cda0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b277ff",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 255
  },
  "hsl": {
    "h": 266.029,
    "s": 100,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68928,
    "c": 0.19671,
    "h": 301.5
  },
  "luminance": 0.29879
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B277FF

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

Preview Lab → · Contrast checker → · Palette generator →

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