#B276EA#B276EA

#B276EA is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.6% C 0.174 H 306.2°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#B276EA
RGBrgb(178, 118, 234)
HSLhsl(271, 73%, 69%)
HSVhsv(271, 50%, 92%)
CMYKcmyk(23.9%, 49.6%, 0%, 8.2%)
CIE-LABlab(60.22, 45.20, -49.97)
CIE-LCHlch(60.22, 67.38, 312.13°)
OKLaboklab(67.58% 0.1025 -0.1401)
OKLCHoklch(67.58% 0.174 306.2)
XYZxyz(39.6867, 28.3627, 81.2097)
Luminance0.2836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B276EA #AEEA76
analogous
#7876EA #B276EA #EA76E8
triadic
#B276EA #EAB276 #76EAB2
tetradic
#B276EA #EA7876 #AEEA76 #76E8EA
square
#B276EA #EA7876 #AEEA76 #76E8EA
split-complementary
#B276EA #E8EA76 #76EA78
monochromatic
#761FC7 #9441E2 #B276EA #D0ABF2 #EEE0FA

Accessibility & contrast

On white

3.15
#B276EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#B276EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B276EA
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B276EA#FFFFFF#000000##000000
##B276EA1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#558FEE
Deuteranopia (green-blind)
#6692E7
Tritanopia (blue-blind)
#A98AA5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b276ea;
/* rgb */ color: rgb(178, 118, 234);
/* oklch */ color: oklch(67.6% 0.174 306.2);
Tailwind
colors: {
  custom: {
    50: '#cb9ff1',
    500: '#b276ea',
    950: '#000000',
  },
}
SCSS
$custom: #b276ea;
$custom-light: #cb9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#b276ea",
  "rgb": {
    "r": 178,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 271.034,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67575,
    "c": 0.17354,
    "h": 306.2
  },
  "luminance": 0.28362
}

Semantic roles & 50–950 ramp

primary
#B276EA
secondary
#DDEFCD
accent
#D6106F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F17
muted
#827E85

Preview Lab

Preview with #B276EA

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

Preview Lab → · Contrast checker → · Palette generator →

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