#B276FB#B276FB

#B276FB is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.5% C 0.194 H 302.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#B276FB
RGBrgb(178, 118, 251)
HSLhsl(267, 94%, 72%)
HSVhsv(267, 53%, 98%)
CMYKcmyk(29.1%, 53%, 0%, 1.6%)
CIE-LABlab(61.12, 49.16, -57.94)
CIE-LCHlch(61.12, 75.99, 310.32°)
OKLaboklab(68.54% 0.1037 -0.1633)
OKLCHoklch(68.54% 0.194 302.4)
XYZxyz(42.2472, 29.3868, 94.6946)
Luminance0.2939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B276FB #BFFB76
analogous
#767CFB #B276FB #F576FB
triadic
#B276FB #FBB276 #76FBB2
tetradic
#B276FB #FB767C #BFFB76 #76FBF5
square
#B276FB #FB767C #BFFB76 #76FBF5
split-complementary
#B276FB #FBF576 #7CFB76
monochromatic
#7007F0 #913BF9 #B276FB #D3B1FD #EEE1FE

Accessibility & contrast

On white

3.05
#B276FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#B276FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B276FB
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B276FB#FFFFFF#000000##000000
##B276FB1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4692FF
Deuteranopia (green-blind)
#5993F8
Tritanopia (blue-blind)
#A48FAD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b276fb;
/* rgb */ color: rgb(178, 118, 251);
/* oklch */ color: oklch(68.5% 0.194 302.4);
Tailwind
colors: {
  custom: {
    50: '#cc9ffd',
    500: '#b276fb',
    950: '#000000',
  },
}
SCSS
$custom: #b276fb;
$custom-light: #cc9ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#b276fb",
  "rgb": {
    "r": 178,
    "g": 118,
    "b": 251
  },
  "hsl": {
    "h": 267.068,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68541,
    "c": 0.1935,
    "h": 302.4
  },
  "luminance": 0.29387
}

Semantic roles & 50–950 ramp

primary
#B276FB
secondary
#E7F6D5
accent
#E6007E
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F18
muted
#827E86

Preview Lab

Preview with #B276FB

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

Preview Lab → · Contrast checker → · Palette generator →

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