#B276FF#B276FF

#B276FF is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.8% C 0.198 H 301.6°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#B276FF
RGBrgb(178, 118, 255)
HSLhsl(266, 100%, 73%)
HSVhsv(266, 54%, 100%)
CMYKcmyk(30.2%, 53.7%, 0%, 0%)
CIE-LABlab(61.34, 50.11, -59.78)
CIE-LCHlch(61.34, 78.01, 309.97°)
OKLaboklab(68.78% 0.1039 -0.1688)
OKLCHoklch(68.78% 0.198 301.6)
XYZxyz(42.8844, 29.6417, 98.0505)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B276FF #C3FF76
analogous
#767EFF #B276FF #F676FF
triadic
#B276FF #FFB276 #76FFB2
tetradic
#B276FF #FF767E #C3FF76 #76FFF6
square
#B276FF #FF767E #C3FF76 #76FFF6
split-complementary
#B276FF #FFF676 #7EFF76
monochromatic
#6E00FB #9039FF #B276FF #D4B3FF #EEE0FF

Accessibility & contrast

On white

3.03
#B276FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#B276FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B276FF
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B276FF#FFFFFF#000000##000000
##B276FF1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4193FF
Deuteranopia (green-blind)
#5593FC
Tritanopia (blue-blind)
#A391AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b276ff;
/* rgb */ color: rgb(178, 118, 255);
/* oklch */ color: oklch(68.8% 0.198 301.6);
Tailwind
colors: {
  custom: {
    50: '#cd9fff',
    500: '#b276ff',
    950: '#000000',
  },
}
SCSS
$custom: #b276ff;
$custom-light: #cd9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#b276ff",
  "rgb": {
    "r": 178,
    "g": 118,
    "b": 255
  },
  "hsl": {
    "h": 266.277,
    "s": 100,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68777,
    "c": 0.19818,
    "h": 301.6
  },
  "luminance": 0.29642
}

Semantic roles & 50–950 ramp

primary
#B276FF
secondary
#E8F7D4
accent
#E60081
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F18
muted
#827E86

Preview Lab

Preview with #B276FF

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

Preview Lab → · Contrast checker → · Palette generator →

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