#B278CD#B278CD

#B278CD is a light, vivid purple. Relative luminance 0.273; OKLCH L 66.4% C 0.136 H 314.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B278CD
RGBrgb(178, 120, 205)
HSLhsl(281, 46%, 64%)
HSVhsv(281, 41%, 80%)
CMYKcmyk(13.2%, 41.5%, 0%, 19.6%)
CIE-LABlab(59.26, 37.70, -35.22)
CIE-LCHlch(59.26, 51.59, 316.94°)
OKLaboklab(66.41% 0.0955 -0.0974)
OKLCHoklch(66.41% 0.136 314.4)
XYZxyz(36.0943, 27.3065, 61.1151)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B278CD #93CD78
analogous
#8778CD #B278CD #CD78BD
triadic
#B278CD #CDB278 #78CDB2
tetradic
#B278CD #CD8778 #93CD78 #78BDCD
square
#B278CD #CD8778 #93CD78 #78BDCD
split-complementary
#B278CD #BDCD78 #78CD87
monochromatic
#763794 #994BBC #B278CD #CBA5DE #E5D1EE

Accessibility & contrast

On white

3.25
#B278CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#B278CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B278CD
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B278CD#FFFFFF#000000##000000
##B278CD1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BD0
Deuteranopia (green-blind)
#7790CB
Tritanopia (blue-blind)
#B08499
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b278cd;
/* rgb */ color: rgb(178, 120, 205);
/* oklch */ color: oklch(66.4% 0.136 314.4);
Tailwind
colors: {
  custom: {
    50: '#caa0dc',
    500: '#b278cd',
    950: '#000000',
  },
}
SCSS
$custom: #b278cd;
$custom-light: #caa0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b278cd",
  "rgb": {
    "r": 178,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 280.941,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66406,
    "c": 0.13634,
    "h": 314.4
  },
  "luminance": 0.27306
}

Semantic roles & 50–950 ramp

primary
#B278CD
secondary
#CBDFC1
accent
#B92C59
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #B278CD

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

Preview Lab → · Contrast checker → · Palette generator →

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