#B276EB#B276EB

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

Color values

HEX#B276EB
RGBrgb(178, 118, 235)
HSLhsl(271, 75%, 69%)
HSVhsv(271, 50%, 92%)
CMYKcmyk(24.3%, 49.8%, 0%, 7.8%)
CIE-LABlab(60.27, 45.43, -50.44)
CIE-LCHlch(60.27, 67.89, 312.01°)
OKLaboklab(67.63% 0.1026 -0.1414)
OKLCHoklch(67.63% 0.175 305.9)
XYZxyz(39.8308, 28.4203, 81.9685)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B276EB #AFEB76
analogous
#7876EB #B276EB #EB76EA
triadic
#B276EB #EBB276 #76EBB2
tetradic
#B276EB #EB7876 #AFEB76 #76EAEB
square
#B276EB #EB7876 #AFEB76 #76EAEB
split-complementary
#B276EB #EAEB76 #76EB78
monochromatic
#761DC9 #9441E3 #B276EB #D0ABF3 #EEE1FB

Accessibility & contrast

On white

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

On black

6.68
#B276EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B276EB
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B276EB#FFFFFF#000000##000000
##B276EB1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEF
Deuteranopia (green-blind)
#6592E8
Tritanopia (blue-blind)
#A98BA6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b276eb;
/* rgb */ color: rgb(178, 118, 235);
/* oklch */ color: oklch(67.6% 0.175 305.9);
Tailwind
colors: {
  custom: {
    50: '#cb9ff2',
    500: '#b276eb',
    950: '#000000',
  },
}
SCSS
$custom: #b276eb;
$custom-light: #cb9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b276eb",
  "rgb": {
    "r": 178,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 270.769,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6763,
    "c": 0.17471,
    "h": 305.9
  },
  "luminance": 0.2842
}

Semantic roles & 50–950 ramp

primary
#B276EB
secondary
#DEEFCD
accent
#D70F70
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F17
muted
#827E85

Preview Lab

Preview with #B276EB

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

Preview Lab → · Contrast checker → · Palette generator →

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