#B276DF#B276DF

#B276DF is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.0% C 0.161 H 309.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B276DF
RGBrgb(178, 118, 223)
HSLhsl(274, 62%, 67%)
HSVhsv(274, 47%, 87%)
CMYKcmyk(20.2%, 47.1%, 0%, 12.5%)
CIE-LABlab(59.66, 42.71, -44.71)
CIE-LCHlch(59.66, 61.83, 313.69°)
OKLaboklab(66.98% 0.1012 -0.1247)
OKLCHoklch(66.98% 0.161 309)
XYZxyz(38.1553, 27.7501, 73.1440)
Luminance0.2775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B276DF #A3DF76
analogous
#7E76DF #B276DF #DF76D7
triadic
#B276DF #DFB276 #76DFB2
tetradic
#B276DF #DF7E76 #A3DF76 #76D7DF
square
#B276DF #DF7E76 #A3DF76 #76D7DF
split-complementary
#B276DF #D7DF76 #76DF7E
monochromatic
#7729B1 #9644D3 #B276DF #CEA8EB #EAD9F6

Accessibility & contrast

On white

3.21
#B276DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#B276DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B276DF
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B276DF#FFFFFF#000000##000000
##B276DF1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8DE3
Deuteranopia (green-blind)
#6C91DC
Tritanopia (blue-blind)
#AC87A0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b276df;
/* rgb */ color: rgb(178, 118, 223);
/* oklch */ color: oklch(67.0% 0.161 309.0);
Tailwind
colors: {
  custom: {
    50: '#cb9fe9',
    500: '#b276df',
    950: '#000000',
  },
}
SCSS
$custom: #b276df;
$custom-light: #cb9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#b276df",
  "rgb": {
    "r": 178,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 274.286,
    "s": 62.13,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66984,
    "c": 0.16064,
    "h": 309
  },
  "luminance": 0.2775
}

Semantic roles & 50–950 ramp

primary
#B276DF
secondary
#D6E9C8
accent
#CA1C66
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #B276DF

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

Preview Lab → · Contrast checker → · Palette generator →

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