#B278DB#B278DB

#B278DB is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.1% C 0.153 H 309.9°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B278DB
RGBrgb(178, 120, 219)
HSLhsl(275, 58%, 66%)
HSVhsv(275, 45%, 86%)
CMYKcmyk(18.7%, 45.2%, 0%, 14.1%)
CIE-LABlab(59.90, 40.73, -42.09)
CIE-LCHlch(59.90, 58.58, 314.06°)
OKLaboklab(67.1% 0.0979 -0.1172)
OKLCHoklch(67.1% 0.153 309.9)
XYZxyz(37.8604, 28.0130, 70.4167)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B278DB #A1DB78
analogous
#8178DB #B278DB #DB78D2
triadic
#B278DB #DBB278 #78DBB2
tetradic
#B278DB #DB8178 #A1DB78 #78D2DB
square
#B278DB #DB8178 #A1DB78 #78D2DB
split-complementary
#B278DB #D2DB78 #78DB81
monochromatic
#772EAB #9648CE #B278DB #CEA8E8 #E9D9F5

Accessibility & contrast

On white

3.18
#B278DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#B278DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B278DB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B278DB#FFFFFF#000000##000000
##B278DB1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EDF
Deuteranopia (green-blind)
#7191D8
Tritanopia (blue-blind)
#AD889F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b278db;
/* rgb */ color: rgb(178, 120, 219);
/* oklch */ color: oklch(67.1% 0.153 309.9);
Tailwind
colors: {
  custom: {
    50: '#cba0e6',
    500: '#b278db',
    950: '#000000',
  },
}
SCSS
$custom: #b278db;
$custom-light: #cba0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b278db",
  "rgb": {
    "r": 178,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 275.152,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67099,
    "c": 0.15267,
    "h": 309.9
  },
  "luminance": 0.28012
}

Semantic roles & 50–950 ramp

primary
#B278DB
secondary
#D5E7C7
accent
#C52065
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #B278DB

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

Preview Lab → · Contrast checker → · Palette generator →

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