#B276F8#B276F8

#B276F8 is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.4% C 0.190 H 303.0°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#B276F8
RGBrgb(178, 118, 248)
HSLhsl(268, 90%, 72%)
HSVhsv(268, 52%, 97%)
CMYKcmyk(28.2%, 52.4%, 0%, 2.7%)
CIE-LABlab(60.96, 48.45, -56.55)
CIE-LCHlch(60.96, 74.47, 310.59°)
OKLaboklab(68.37% 0.1036 -0.1593)
OKLCHoklch(68.37% 0.19 303)
XYZxyz(41.7780, 29.1992, 92.2238)
Luminance0.2920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B276F8 #BCF876
analogous
#767BF8 #B276F8 #F376F8
triadic
#B276F8 #F8B276 #76F8B2
tetradic
#B276F8 #F8767B #BCF876 #76F8F3
square
#B276F8 #F8767B #BCF876 #76F8F3
split-complementary
#B276F8 #F8F376 #7BF876
monochromatic
#710CE8 #913CF5 #B276F8 #D3B0FB #EFE2FE

Accessibility & contrast

On white

3.07
#B276F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#B276F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B276F8
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B276F8#FFFFFF#000000##000000
##B276F81.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4992FC
Deuteranopia (green-blind)
#5B93F5
Tritanopia (blue-blind)
#A58EAC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b276f8;
/* rgb */ color: rgb(178, 118, 248);
/* oklch */ color: oklch(68.4% 0.190 303.0);
Tailwind
colors: {
  custom: {
    50: '#cc9ffb',
    500: '#b276f8',
    950: '#000000',
  },
}
SCSS
$custom: #b276f8;
$custom-light: #cc9ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#b276f8",
  "rgb": {
    "r": 178,
    "g": 118,
    "b": 248
  },
  "hsl": {
    "h": 267.692,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68366,
    "c": 0.18998,
    "h": 303
  },
  "luminance": 0.29199
}

Semantic roles & 50–950 ramp

primary
#B276F8
secondary
#E6F5D4
accent
#E6007C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B276F8

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

Preview Lab → · Contrast checker → · Palette generator →

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