#B278EA#B278EA

#B278EA is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.9% C 0.170 H 305.8°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#B278EA
RGBrgb(178, 120, 234)
HSLhsl(271, 73%, 69%)
HSVhsv(271, 49%, 92%)
CMYKcmyk(23.9%, 48.7%, 0%, 8.2%)
CIE-LABlab(60.64, 44.12, -49.30)
CIE-LCHlch(60.64, 66.16, 311.83°)
OKLaboklab(67.89% 0.0998 -0.1381)
OKLCHoklch(67.89% 0.17 305.8)
XYZxyz(39.9248, 28.8387, 81.2891)
Luminance0.2884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B278EA #B0EA78
analogous
#7978EA #B278EA #EA78E9
triadic
#B278EA #EAB278 #78EAB2
tetradic
#B278EA #EA7978 #B0EA78 #78E9EA
square
#B278EA #EA7978 #B0EA78 #78E9EA
split-complementary
#B278EA #E9EA78 #78EA79
monochromatic
#751FC8 #9443E2 #B278EA #D0ADF2 #EEE2FA

Accessibility & contrast

On white

3.10
#B278EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#B278EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B278EA
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B278EA#FFFFFF#000000##000000
##B278EA1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5890EE
Deuteranopia (green-blind)
#6893E7
Tritanopia (blue-blind)
#A98CA6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b278ea;
/* rgb */ color: rgb(178, 120, 234);
/* oklch */ color: oklch(67.9% 0.170 305.8);
Tailwind
colors: {
  custom: {
    50: '#cba0f1',
    500: '#b278ea',
    950: '#000000',
  },
}
SCSS
$custom: #b278ea;
$custom-light: #cba0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b278ea",
  "rgb": {
    "r": 178,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 270.526,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67891,
    "c": 0.1704,
    "h": 305.8
  },
  "luminance": 0.28838
}

Semantic roles & 50–950 ramp

primary
#B278EA
secondary
#DFEFCE
accent
#D51071
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F17
muted
#827E85

Preview Lab

Preview with #B278EA

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

Preview Lab → · Contrast checker → · Palette generator →

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