#B276EC#B276EC

#B276EC is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.7% C 0.176 H 305.7°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#B276EC
RGBrgb(178, 118, 236)
HSLhsl(271, 76%, 69%)
HSVhsv(271, 50%, 93%)
CMYKcmyk(24.6%, 50%, 0%, 7.5%)
CIE-LABlab(60.32, 45.66, -50.92)
CIE-LCHlch(60.32, 68.39, 311.88°)
OKLaboklab(67.69% 0.1026 -0.1428)
OKLCHoklch(67.69% 0.176 305.7)
XYZxyz(39.9757, 28.4783, 82.7315)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B276EC #B0EC76
analogous
#7776EC #B276EC #EC76EB
triadic
#B276EC #ECB276 #76ECB2
tetradic
#B276EC #EC7776 #B0EC76 #76EBEC
square
#B276EC #EC7776 #B0EC76 #76EBEC
split-complementary
#B276EC #EBEC76 #76EC77
monochromatic
#751CCB #9440E5 #B276EC #D0ACF3 #EEE1FB

Accessibility & contrast

On white

3.14
#B276EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#B276EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B276EC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B276EC#FFFFFF#000000##000000
##B276EC1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FF0
Deuteranopia (green-blind)
#6492E9
Tritanopia (blue-blind)
#A98BA6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b276ec;
/* rgb */ color: rgb(178, 118, 236);
/* oklch */ color: oklch(67.7% 0.176 305.7);
Tailwind
colors: {
  custom: {
    50: '#cc9ff3',
    500: '#b276ec',
    950: '#000000',
  },
}
SCSS
$custom: #b276ec;
$custom-light: #cc9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#b276ec",
  "rgb": {
    "r": 178,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 270.508,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67686,
    "c": 0.17588,
    "h": 305.7
  },
  "luminance": 0.28478
}

Semantic roles & 50–950 ramp

primary
#B276EC
secondary
#DFF0CE
accent
#D80E71
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F17
muted
#827E85

Preview Lab

Preview with #B276EC

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

Preview Lab → · Contrast checker → · Palette generator →

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