#B278FC#B278FC

#B278FC is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.9% C 0.192 H 301.9°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#B278FC
RGBrgb(178, 120, 252)
HSLhsl(266, 96%, 73%)
HSVhsv(266, 52%, 99%)
CMYKcmyk(29.4%, 52.4%, 0%, 1.2%)
CIE-LABlab(61.59, 48.33, -57.74)
CIE-LCHlch(61.59, 75.30, 309.93°)
OKLaboklab(68.91% 0.1013 -0.1628)
OKLCHoklch(68.91% 0.192 301.9)
XYZxyz(42.6432, 29.9261, 95.6063)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B278FC #C2FC78
analogous
#7880FC #B278FC #F478FC
triadic
#B278FC #FCB278 #78FCB2
tetradic
#B278FC #FC7880 #C2FC78 #78FCF4
square
#B278FC #FC7880 #C2FC78 #78FCF4
split-complementary
#B278FC #FCF478 #80FC78
monochromatic
#6E05F4 #903CFB #B278FC #D4B4FD #EEE1FE

Accessibility & contrast

On white

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

On black

6.99
#B278FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B278FC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B278FC#FFFFFF#000000##000000
##B278FC1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#5A94F9
Tritanopia (blue-blind)
#A491AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b278fc;
/* rgb */ color: rgb(178, 120, 252);
/* oklch */ color: oklch(68.9% 0.192 301.9);
Tailwind
colors: {
  custom: {
    50: '#cca0fe',
    500: '#b278fc',
    950: '#000000',
  },
}
SCSS
$custom: #b278fc;
$custom-light: #cca0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b278fc",
  "rgb": {
    "r": 178,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 266.364,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68905,
    "c": 0.19171,
    "h": 301.9
  },
  "luminance": 0.29926
}

Semantic roles & 50–950 ramp

primary
#B278FC
secondary
#E8F7D4
accent
#E60081
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B278FC

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

Preview Lab → · Contrast checker → · Palette generator →

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