#B277FA#B277FA

#B277FA is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.6% C 0.191 H 302.5°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#B277FA
RGBrgb(178, 119, 250)
HSLhsl(267, 93%, 72%)
HSVhsv(267, 52%, 98%)
CMYKcmyk(28.8%, 52.4%, 0%, 2%)
CIE-LABlab(61.27, 48.39, -57.14)
CIE-LCHlch(61.27, 74.88, 310.26°)
OKLaboklab(68.64% 0.1024 -0.161)
OKLCHoklch(68.64% 0.191 302.5)
XYZxyz(42.2083, 29.5607, 93.9061)
Luminance0.2956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277FA #BFFA77
analogous
#777DFA #B277FA #F477FA
triadic
#B277FA #FAB277 #77FAB2
tetradic
#B277FA #FA777D #BFFA77 #77FAF4
square
#B277FA #FA777D #BFFA77 #77FAF4
split-complementary
#B277FA #FAF477 #7DFA77
monochromatic
#7009EE #913CF8 #B277FA #D3B2FC #EEE1FE

Accessibility & contrast

On white

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

On black

6.91
#B277FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277FA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277FA#FFFFFF#000000##000000
##B277FA1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FE
Deuteranopia (green-blind)
#5B94F7
Tritanopia (blue-blind)
#A590AD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b277fa;
/* rgb */ color: rgb(178, 119, 250);
/* oklch */ color: oklch(68.6% 0.191 302.5);
Tailwind
colors: {
  custom: {
    50: '#cca0fc',
    500: '#b277fa',
    950: '#000000',
  },
}
SCSS
$custom: #b277fa;
$custom-light: #cca0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b277fa",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 250
  },
  "hsl": {
    "h": 267.023,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68635,
    "c": 0.19083,
    "h": 302.5
  },
  "luminance": 0.29561
}

Semantic roles & 50–950 ramp

primary
#B277FA
secondary
#E7F6D5
accent
#E6007E
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F18
muted
#827E86

Preview Lab

Preview with #B277FA

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

Preview Lab → · Contrast checker → · Palette generator →

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