#B276FC#B276FC

#B276FC is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.6% C 0.195 H 302.2°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#B276FC
RGBrgb(178, 118, 252)
HSLhsl(267, 96%, 73%)
HSVhsv(267, 53%, 99%)
CMYKcmyk(29.4%, 53.2%, 0%, 1.2%)
CIE-LABlab(61.18, 49.40, -58.40)
CIE-LCHlch(61.18, 76.49, 310.23°)
OKLaboklab(68.6% 0.1038 -0.1647)
OKLCHoklch(68.6% 0.195 302.2)
XYZxyz(42.4052, 29.4501, 95.5270)
Luminance0.2945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B276FC #C0FC76
analogous
#767DFC #B276FC #F576FC
triadic
#B276FC #FCB276 #76FCB2
tetradic
#B276FC #FC767D #C0FC76 #76FCF5
square
#B276FC #FC767D #C0FC76 #76FCF5
split-complementary
#B276FC #FCF576 #7DFC76
monochromatic
#6F05F2 #903AFB #B276FC #D4B2FD #EEE1FE

Accessibility & contrast

On white

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

On black

6.89
#B276FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B276FC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B276FC#FFFFFF#000000##000000
##B276FC1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4593FF
Deuteranopia (green-blind)
#5893F9
Tritanopia (blue-blind)
#A490AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b276fc;
/* rgb */ color: rgb(178, 118, 252);
/* oklch */ color: oklch(68.6% 0.195 302.2);
Tailwind
colors: {
  custom: {
    50: '#cc9ffe',
    500: '#b276fc',
    950: '#000000',
  },
}
SCSS
$custom: #b276fc;
$custom-light: #cc9ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#b276fc",
  "rgb": {
    "r": 178,
    "g": 118,
    "b": 252
  },
  "hsl": {
    "h": 266.866,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68599,
    "c": 0.19467,
    "h": 302.2
  },
  "luminance": 0.2945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B276FC

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

Preview Lab → · Contrast checker → · Palette generator →

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