#B276DB#B276DB

#B276DB is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.8% C 0.156 H 310.2°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B276DB
RGBrgb(178, 118, 219)
HSLhsl(276, 58%, 66%)
HSVhsv(276, 46%, 86%)
CMYKcmyk(18.7%, 46.1%, 0%, 14.1%)
CIE-LABlab(59.47, 41.83, -42.77)
CIE-LCHlch(59.47, 59.82, 314.36°)
OKLaboklab(66.78% 0.1007 -0.1191)
OKLCHoklch(66.78% 0.156 310.2)
XYZxyz(37.6224, 27.5369, 70.3373)
Luminance0.2754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B276DB #9FDB76
analogous
#7F76DB #B276DB #DB76D1
triadic
#B276DB #DBB276 #76DBB2
tetradic
#B276DB #DB7F76 #9FDB76 #76D1DB
square
#B276DB #DB7F76 #9FDB76 #76D1DB
split-complementary
#B276DB #D1DB76 #76DB7F
monochromatic
#772DAA #9746CE #B276DB #CDA6E8 #E8D7F4

Accessibility & contrast

On white

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

On black

6.51
#B276DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B276DB
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B276DB#FFFFFF#000000##000000
##B276DB1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b276db;
/* rgb */ color: rgb(178, 118, 219);
/* oklch */ color: oklch(66.8% 0.156 310.2);
Tailwind
colors: {
  custom: {
    50: '#cb9fe6',
    500: '#b276db',
    950: '#000000',
  },
}
SCSS
$custom: #b276db;
$custom-light: #cb9fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#b276db",
  "rgb": {
    "r": 178,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 275.644,
    "s": 58.382,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66776,
    "c": 0.15596,
    "h": 310.2
  },
  "luminance": 0.27536
}

Semantic roles & 50–950 ramp

primary
#B276DB
secondary
#D3E7C6
accent
#C62063
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #B276DB

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

Preview Lab → · Contrast checker → · Palette generator →

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