#B276FA#B276FA

#B276FA is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.5% C 0.192 H 302.6°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#B276FA
RGBrgb(178, 118, 250)
HSLhsl(267, 93%, 72%)
HSVhsv(267, 53%, 98%)
CMYKcmyk(28.8%, 52.8%, 0%, 2%)
CIE-LABlab(61.07, 48.93, -57.47)
CIE-LCHlch(61.07, 75.48, 310.41°)
OKLaboklab(68.48% 0.1037 -0.162)
OKLCHoklch(68.48% 0.192 302.6)
XYZxyz(42.0900, 29.3240, 93.8666)
Luminance0.2932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B276FA #BEFA76
analogous
#767CFA #B276FA #F476FA
triadic
#B276FA #FAB276 #76FAB2
tetradic
#B276FA #FA767C #BEFA76 #76FAF4
square
#B276FA #FA767C #BEFA76 #76FAF4
split-complementary
#B276FA #FAF476 #7CFA76
monochromatic
#7009ED #913BF8 #B276FA #D3B1FC #EEE1FE

Accessibility & contrast

On white

3.06
#B276FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#B276FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B276FA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B276FA#FFFFFF#000000##000000
##B276FA1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4792FE
Deuteranopia (green-blind)
#5A93F7
Tritanopia (blue-blind)
#A58FAD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b276fa;
/* rgb */ color: rgb(178, 118, 250);
/* oklch */ color: oklch(68.5% 0.192 302.6);
Tailwind
colors: {
  custom: {
    50: '#cc9ffc',
    500: '#b276fa',
    950: '#000000',
  },
}
SCSS
$custom: #b276fa;
$custom-light: #cc9ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#b276fa",
  "rgb": {
    "r": 178,
    "g": 118,
    "b": 250
  },
  "hsl": {
    "h": 267.273,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68482,
    "c": 0.19233,
    "h": 302.6
  },
  "luminance": 0.29324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B276FA

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

Preview Lab → · Contrast checker → · Palette generator →

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