#B276EF#B276EF

#B276EF is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.9% C 0.179 H 305.0°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#B276EF
RGBrgb(178, 118, 239)
HSLhsl(270, 79%, 70%)
HSVhsv(270, 51%, 94%)
CMYKcmyk(25.5%, 50.6%, 0%, 6.3%)
CIE-LABlab(60.48, 46.35, -52.33)
CIE-LCHlch(60.48, 69.91, 311.53°)
OKLaboklab(67.85% 0.1029 -0.147)
OKLCHoklch(67.85% 0.179 305)
XYZxyz(40.4152, 28.6541, 85.0463)
Luminance0.2865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B276EF #B3EF76
analogous
#7677EF #B276EF #EE76EF
triadic
#B276EF #EFB276 #76EFB2
tetradic
#B276EF #EF7677 #B3EF76 #76EFEE
square
#B276EF #EF7677 #B3EF76 #76EFEE
split-complementary
#B276EF #EFEE76 #77EF76
monochromatic
#7519D2 #933FE9 #B276EF #D1ADF5 #F0E4FC

Accessibility & contrast

On white

3.12
#B276EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#B276EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B276EF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B276EF#FFFFFF#000000##000000
##B276EF1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5190F3
Deuteranopia (green-blind)
#6292EC
Tritanopia (blue-blind)
#A88CA8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b276ef;
/* rgb */ color: rgb(178, 118, 239);
/* oklch */ color: oklch(67.9% 0.179 305.0);
Tailwind
colors: {
  custom: {
    50: '#cc9ff5',
    500: '#b276ef',
    950: '#000000',
  },
}
SCSS
$custom: #b276ef;
$custom-light: #cc9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#b276ef",
  "rgb": {
    "r": 178,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 269.752,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.67853,
    "c": 0.17942,
    "h": 305
  },
  "luminance": 0.28654
}

Semantic roles & 50–950 ramp

primary
#B276EF
secondary
#E1F1CF
accent
#DB0A74
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140F17
muted
#827E85

Preview Lab

Preview with #B276EF

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

Preview Lab → · Contrast checker → · Palette generator →

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