#B276FD#B276FD

#B276FD is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.7% C 0.196 H 302.0°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#B276FD
RGBrgb(178, 118, 253)
HSLhsl(267, 97%, 73%)
HSVhsv(267, 53%, 99%)
CMYKcmyk(29.6%, 53.4%, 0%, 0.8%)
CIE-LABlab(61.23, 49.64, -58.86)
CIE-LCHlch(61.23, 77.00, 310.14°)
OKLaboklab(68.66% 0.1038 -0.1661)
OKLCHoklch(68.66% 0.196 302)
XYZxyz(42.5641, 29.5136, 96.3638)
Luminance0.2951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B276FD #C1FD76
analogous
#767DFD #B276FD #F676FD
triadic
#B276FD #FDB276 #76FDB2
tetradic
#B276FD #FD767D #C1FD76 #76FDF6
square
#B276FD #FD767D #C1FD76 #76FDF6
split-complementary
#B276FD #FDF676 #7DFD76
monochromatic
#6F04F5 #903AFC #B276FD #D4B2FE #EEE1FF

Accessibility & contrast

On white

3.04
#B276FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#B276FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B276FD
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B276FD#FFFFFF#000000##000000
##B276FD1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#5793FA
Tritanopia (blue-blind)
#A490AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b276fd;
/* rgb */ color: rgb(178, 118, 253);
/* oklch */ color: oklch(68.7% 0.196 302.0);
Tailwind
colors: {
  custom: {
    50: '#cc9fff',
    500: '#b276fd',
    950: '#000000',
  },
}
SCSS
$custom: #b276fd;
$custom-light: #cc9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#b276fd",
  "rgb": {
    "r": 178,
    "g": 118,
    "b": 253
  },
  "hsl": {
    "h": 266.667,
    "s": 97.122,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68658,
    "c": 0.19584,
    "h": 302
  },
  "luminance": 0.29514
}

Semantic roles & 50–950 ramp

primary
#B276FD
secondary
#E7F7D4
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F18
muted
#827E86

Preview Lab

Preview with #B276FD

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

Preview Lab → · Contrast checker → · Palette generator →

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