#B276FE#B276FE

#B276FE is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.7% C 0.197 H 301.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#B276FE
RGBrgb(178, 118, 254)
HSLhsl(266, 99%, 73%)
HSVhsv(266, 54%, 100%)
CMYKcmyk(29.9%, 53.5%, 0%, 0.4%)
CIE-LABlab(61.29, 49.88, -59.32)
CIE-LCHlch(61.29, 77.50, 310.06°)
OKLaboklab(68.72% 0.1039 -0.1674)
OKLCHoklch(68.72% 0.197 301.8)
XYZxyz(42.7238, 29.5775, 97.2049)
Luminance0.2958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B276FE #C2FE76
analogous
#767EFE #B276FE #F676FE
triadic
#B276FE #FEB276 #76FEB2
tetradic
#B276FE #FE767E #C2FE76 #76FEF6
square
#B276FE #FE767E #C2FE76 #76FEF6
split-complementary
#B276FE #FEF676 #7EFE76
monochromatic
#6E02F8 #9039FE #B276FE #D4B3FE #EEE1FF

Accessibility & contrast

On white

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

On black

6.92
#B276FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B276FE
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B276FE#FFFFFF#000000##000000
##B276FE1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#5693FB
Tritanopia (blue-blind)
#A390AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b276fe;
/* rgb */ color: rgb(178, 118, 254);
/* oklch */ color: oklch(68.7% 0.197 301.8);
Tailwind
colors: {
  custom: {
    50: '#cd9fff',
    500: '#b276fe',
    950: '#000000',
  },
}
SCSS
$custom: #b276fe;
$custom-light: #cd9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#b276fe",
  "rgb": {
    "r": 178,
    "g": 118,
    "b": 254
  },
  "hsl": {
    "h": 266.471,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68717,
    "c": 0.19701,
    "h": 301.8
  },
  "luminance": 0.29578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B276FE

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

Preview Lab → · Contrast checker → · Palette generator →

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