#B276F6#B276F6

#B276F6 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.3% C 0.188 H 303.5°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#B276F6
RGBrgb(178, 118, 246)
HSLhsl(268, 88%, 71%)
HSVhsv(268, 52%, 96%)
CMYKcmyk(27.6%, 52%, 0%, 3.5%)
CIE-LABlab(60.85, 47.98, -55.61)
CIE-LCHlch(60.85, 73.45, 310.79°)
OKLaboklab(68.25% 0.1034 -0.1565)
OKLCHoklch(68.25% 0.188 303.5)
XYZxyz(41.4694, 29.0757, 90.5984)
Luminance0.2908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B276F6 #BAF676
analogous
#767AF6 #B276F6 #F276F6
triadic
#B276F6 #F6B276 #76F6B2
tetradic
#B276F6 #F6767A #BAF676 #76F6F2
square
#B276F6 #F6767A #BAF676 #76F6F2
split-complementary
#B276F6 #F6F276 #7AF676
monochromatic
#720FE3 #923DF2 #B276F6 #D2AFFA #EFE2FD

Accessibility & contrast

On white

3.08
#B276F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#B276F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B276F6
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B276F6#FFFFFF#000000##000000
##B276F61.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B91FA
Deuteranopia (green-blind)
#5D93F3
Tritanopia (blue-blind)
#A68EAB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b276f6;
/* rgb */ color: rgb(178, 118, 246);
/* oklch */ color: oklch(68.3% 0.188 303.5);
Tailwind
colors: {
  custom: {
    50: '#cc9ffa',
    500: '#b276f6',
    950: '#000000',
  },
}
SCSS
$custom: #b276f6;
$custom-light: #cc9ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#b276f6",
  "rgb": {
    "r": 178,
    "g": 118,
    "b": 246
  },
  "hsl": {
    "h": 268.125,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.6825,
    "c": 0.18763,
    "h": 303.5
  },
  "luminance": 0.29076
}

Semantic roles & 50–950 ramp

primary
#B276F6
secondary
#E5F5D3
accent
#E4017A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B276F6

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

Preview Lab → · Contrast checker → · Palette generator →

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