#B278FA#B278FA

#B278FA is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.8% C 0.189 H 302.3°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#B278FA
RGBrgb(178, 120, 250)
HSLhsl(267, 93%, 73%)
HSVhsv(267, 52%, 98%)
CMYKcmyk(28.8%, 52%, 0%, 2%)
CIE-LABlab(61.48, 47.86, -56.81)
CIE-LCHlch(61.48, 74.28, 310.11°)
OKLaboklab(68.79% 0.1011 -0.1601)
OKLCHoklch(68.79% 0.189 302.3)
XYZxyz(42.3280, 29.8000, 93.9460)
Luminance0.2980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B278FA #C0FA78
analogous
#787FFA #B278FA #F378FA
triadic
#B278FA #FAB278 #78FAB2
tetradic
#B278FA #FA787F #C0FA78 #78FAF3
square
#B278FA #FA787F #C0FA78 #78FAF3
split-complementary
#B278FA #FAF378 #7FFA78
monochromatic
#6F09EF #903DF8 #B278FA #D4B3FC #EEE1FE

Accessibility & contrast

On white

3.02
#B278FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#B278FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B278FA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B278FA#FFFFFF#000000##000000
##B278FA1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B93FE
Deuteranopia (green-blind)
#5C94F7
Tritanopia (blue-blind)
#A491AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b278fa;
/* rgb */ color: rgb(178, 120, 250);
/* oklch */ color: oklch(68.8% 0.189 302.3);
Tailwind
colors: {
  custom: {
    50: '#cca0fc',
    500: '#b278fa',
    950: '#000000',
  },
}
SCSS
$custom: #b278fa;
$custom-light: #cca0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b278fa",
  "rgb": {
    "r": 178,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 266.769,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68789,
    "c": 0.18934,
    "h": 302.3
  },
  "luminance": 0.298
}

Semantic roles & 50–950 ramp

primary
#B278FA
secondary
#E7F6D5
accent
#E6007F
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B278FA

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

Preview Lab → · Contrast checker → · Palette generator →

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