#B278DA#B278DA

#B278DA is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.0% C 0.151 H 310.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#B278DA
RGBrgb(178, 120, 218)
HSLhsl(276, 57%, 66%)
HSVhsv(276, 45%, 85%)
CMYKcmyk(18.3%, 45%, 0%, 14.5%)
CIE-LABlab(59.85, 40.51, -41.61)
CIE-LCHlch(59.85, 58.07, 314.24°)
OKLaboklab(67.05% 0.0977 -0.1158)
OKLCHoklch(67.05% 0.151 310.2)
XYZxyz(37.7291, 27.9605, 69.7254)
Luminance0.2796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B278DA #A0DA78
analogous
#8178DA #B278DA #DA78D1
triadic
#B278DA #DAB278 #78DAB2
tetradic
#B278DA #DA8178 #A0DA78 #78D1DA
square
#B278DA #DA8178 #A0DA78 #78D1DA
split-complementary
#B278DA #D1DA78 #78DA81
monochromatic
#772EA9 #9748CD #B278DA #CDA8E7 #E9D8F4

Accessibility & contrast

On white

3.19
#B278DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#B278DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B278DA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B278DA#FFFFFF#000000##000000
##B278DA1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#628DDE
Deuteranopia (green-blind)
#7191D7
Tritanopia (blue-blind)
#AD879F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b278da;
/* rgb */ color: rgb(178, 120, 218);
/* oklch */ color: oklch(67.0% 0.151 310.2);
Tailwind
colors: {
  custom: {
    50: '#cba0e6',
    500: '#b278da',
    950: '#000000',
  },
}
SCSS
$custom: #b278da;
$custom-light: #cba0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b278da",
  "rgb": {
    "r": 178,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 275.51,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67048,
    "c": 0.15149,
    "h": 310.2
  },
  "luminance": 0.2796
}

Semantic roles & 50–950 ramp

primary
#B278DA
secondary
#D4E7C7
accent
#C52164
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #B278DA

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

Preview Lab → · Contrast checker → · Palette generator →

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