#B278CA#B278CA

#B278CA is a light, vivid purple. Relative luminance 0.272; OKLCH L 66.3% C 0.133 H 315.5°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B278CA
RGBrgb(178, 120, 202)
HSLhsl(282, 44%, 63%)
HSVhsv(282, 41%, 79%)
CMYKcmyk(11.9%, 40.6%, 0%, 20.8%)
CIE-LABlab(59.13, 37.06, -33.73)
CIE-LCHlch(59.13, 50.12, 317.69°)
OKLaboklab(66.26% 0.0949 -0.0931)
OKLCHoklch(66.26% 0.133 315.5)
XYZxyz(35.7356, 27.1631, 59.2262)
Luminance0.2716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B278CA #90CA78
analogous
#8978CA #B278CA #CA78B9
triadic
#B278CA #CAB278 #78CAB2
tetradic
#B278CA #CA8978 #90CA78 #78B9CA
square
#B278CA #CA8978 #90CA78 #78B9CA
split-complementary
#B278CA #B9CA78 #78CA89
monochromatic
#76388F #994CB9 #B278CA #CBA4DB #E4D0ED

Accessibility & contrast

On white

3.26
#B278CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#B278CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B278CA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B278CA#FFFFFF#000000##000000
##B278CA1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCD
Deuteranopia (green-blind)
#7990C8
Tritanopia (blue-blind)
#B18397
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b278ca;
/* rgb */ color: rgb(178, 120, 202);
/* oklch */ color: oklch(66.3% 0.133 315.5);
Tailwind
colors: {
  custom: {
    50: '#caa0da',
    500: '#b278ca',
    950: '#000000',
  },
}
SCSS
$custom: #b278ca;
$custom-light: #caa0da;
$custom-dark: #000000;
JSON
{
  "hex": "#b278ca",
  "rgb": {
    "r": 178,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 282.439,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66263,
    "c": 0.1329,
    "h": 315.5
  },
  "luminance": 0.27162
}

Semantic roles & 50–950 ramp

primary
#B278CA
secondary
#C9DEC0
accent
#B72F57
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130F15
muted
#827E83

Preview Lab

Preview with #B278CA

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

Preview Lab → · Contrast checker → · Palette generator →

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