#B276E7#B276E7

#B276E7 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.4% C 0.170 H 306.9°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#B276E7
RGBrgb(178, 118, 231)
HSLhsl(272, 70%, 68%)
HSVhsv(272, 49%, 91%)
CMYKcmyk(22.9%, 48.9%, 0%, 9.4%)
CIE-LABlab(60.06, 44.52, -48.54)
CIE-LCHlch(60.06, 65.86, 312.52°)
OKLaboklab(67.41% 0.1021 -0.1359)
OKLCHoklch(67.41% 0.17 306.9)
XYZxyz(39.2594, 28.1917, 78.9591)
Luminance0.2819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B276E7 #ABE776
analogous
#7976E7 #B276E7 #E776E4
triadic
#B276E7 #E7B276 #76E7B2
tetradic
#B276E7 #E77976 #ABE776 #76E4E7
square
#B276E7 #E77976 #ABE776 #76E4E7
split-complementary
#B276E7 #E4E776 #76E779
monochromatic
#7622C1 #9542DE #B276E7 #CFAAF0 #EDDEF9

Accessibility & contrast

On white

3.16
#B276E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#B276E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B276E7
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B276E7#FFFFFF#000000##000000
##B276E71.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#578FEB
Deuteranopia (green-blind)
#6891E4
Tritanopia (blue-blind)
#AA89A4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b276e7;
/* rgb */ color: rgb(178, 118, 231);
/* oklch */ color: oklch(67.4% 0.170 306.9);
Tailwind
colors: {
  custom: {
    50: '#cb9fef',
    500: '#b276e7',
    950: '#000000',
  },
}
SCSS
$custom: #b276e7;
$custom-light: #cb9fef;
$custom-dark: #000000;
JSON
{
  "hex": "#b276e7",
  "rgb": {
    "r": 178,
    "g": 118,
    "b": 231
  },
  "hsl": {
    "h": 271.858,
    "s": 70.186,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67411,
    "c": 0.17001,
    "h": 306.9
  },
  "luminance": 0.28191
}

Semantic roles & 50–950 ramp

primary
#B276E7
secondary
#DBEDCB
accent
#D2136D
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F16
muted
#827E84

Preview Lab

Preview with #B276E7

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

Preview Lab → · Contrast checker → · Palette generator →

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