#B276DA#B276DA

#B276DA is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.7% C 0.155 H 310.5°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B276DA
RGBrgb(178, 118, 218)
HSLhsl(276, 57%, 66%)
HSVhsv(276, 46%, 85%)
CMYKcmyk(18.3%, 45.9%, 0%, 14.5%)
CIE-LABlab(59.42, 41.60, -42.29)
CIE-LCHlch(59.42, 59.32, 314.53°)
OKLaboklab(66.72% 0.1005 -0.1177)
OKLCHoklch(66.72% 0.155 310.5)
XYZxyz(37.4911, 27.4844, 69.6461)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B276DA #9EDA76
analogous
#8076DA #B276DA #DA76D0
triadic
#B276DA #DAB276 #76DAB2
tetradic
#B276DA #DA8076 #9EDA76 #76D0DA
square
#B276DA #DA8076 #9EDA76 #76D0DA
split-complementary
#B276DA #D0DA76 #76DA80
monochromatic
#772DA8 #9746CD #B276DA #CDA6E7 #E8D6F4

Accessibility & contrast

On white

3.23
#B276DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#B276DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B276DA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B276DA#FFFFFF#000000##000000
##B276DA1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8CDE
Deuteranopia (green-blind)
#6F90D7
Tritanopia (blue-blind)
#AD869E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b276da;
/* rgb */ color: rgb(178, 118, 218);
/* oklch */ color: oklch(66.7% 0.155 310.5);
Tailwind
colors: {
  custom: {
    50: '#cb9fe6',
    500: '#b276da',
    950: '#000000',
  },
}
SCSS
$custom: #b276da;
$custom-light: #cb9fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#b276da",
  "rgb": {
    "r": 178,
    "g": 118,
    "b": 218
  },
  "hsl": {
    "h": 276,
    "s": 57.471,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66724,
    "c": 0.1548,
    "h": 310.5
  },
  "luminance": 0.27484
}

Semantic roles & 50–950 ramp

primary
#B276DA
secondary
#D3E6C5
accent
#C52062
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #B276DA

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

Preview Lab → · Contrast checker → · Palette generator →

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