#B278FB#B278FB

#B278FB is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.8% C 0.191 H 302.1°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#B278FB
RGBrgb(178, 120, 251)
HSLhsl(267, 94%, 73%)
HSVhsv(267, 52%, 98%)
CMYKcmyk(29.1%, 52.2%, 0%, 1.6%)
CIE-LABlab(61.54, 48.09, -57.28)
CIE-LCHlch(61.54, 74.79, 310.02°)
OKLaboklab(68.85% 0.1012 -0.1614)
OKLCHoklch(68.85% 0.191 302.1)
XYZxyz(42.4852, 29.8629, 94.7740)
Luminance0.2986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B278FB #C1FB78
analogous
#787FFB #B278FB #F478FB
triadic
#B278FB #FBB278 #78FBB2
tetradic
#B278FB #FB787F #C1FB78 #78FBF4
square
#B278FB #FB787F #C1FB78 #78FBF4
split-complementary
#B278FB #FBF478 #7FFB78
monochromatic
#6F07F1 #903DF9 #B278FB #D4B3FD #EEE1FE

Accessibility & contrast

On white

3.01
#B278FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#B278FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B278FB
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B278FB#FFFFFF#000000##000000
##B278FB1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#5B94F8
Tritanopia (blue-blind)
#A491AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b278fb;
/* rgb */ color: rgb(178, 120, 251);
/* oklch */ color: oklch(68.8% 0.191 302.1);
Tailwind
colors: {
  custom: {
    50: '#cca0fd',
    500: '#b278fb',
    950: '#000000',
  },
}
SCSS
$custom: #b278fb;
$custom-light: #cca0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b278fb",
  "rgb": {
    "r": 178,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 266.565,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68847,
    "c": 0.19052,
    "h": 302.1
  },
  "luminance": 0.29863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B278FB

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

Preview Lab → · Contrast checker → · Palette generator →

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