#B478EE#B478EE

#B478EE is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.3% C 0.176 H 305.7°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#B478EE
RGBrgb(180, 120, 238)
HSLhsl(271, 78%, 70%)
HSVhsv(271, 50%, 93%)
CMYKcmyk(24.4%, 49.6%, 0%, 6.7%)
CIE-LABlab(61.05, 45.56, -50.85)
CIE-LCHlch(61.05, 68.28, 311.86°)
OKLaboklab(68.31% 0.1026 -0.1426)
OKLCHoklch(68.31% 0.176 305.7)
XYZxyz(40.9683, 29.3096, 84.3714)
Luminance0.2931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B478EE #B2EE78
analogous
#7978EE #B478EE #EE78ED
triadic
#B478EE #EEB478 #78EEB4
tetradic
#B478EE #EE7978 #B2EE78 #78EDEE
square
#B478EE #EE7978 #B2EE78 #78EDEE
split-complementary
#B478EE #EDEE78 #78EE79
monochromatic
#771AD1 #9642E7 #B478EE #D2AEF5 #F0E4FC

Accessibility & contrast

On white

3.06
#B478EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#B478EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B478EE
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B478EE#FFFFFF#000000##000000
##B478EE1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F2
Deuteranopia (green-blind)
#6794EB
Tritanopia (blue-blind)
#AB8DA8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b478ee;
/* rgb */ color: rgb(180, 120, 238);
/* oklch */ color: oklch(68.3% 0.176 305.7);
Tailwind
colors: {
  custom: {
    50: '#cda0f4',
    500: '#b478ee',
    950: '#000000',
  },
}
SCSS
$custom: #b478ee;
$custom-light: #cda0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b478ee",
  "rgb": {
    "r": 180,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 270.508,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68313,
    "c": 0.17566,
    "h": 305.7
  },
  "luminance": 0.29309
}

Semantic roles & 50–950 ramp

primary
#B478EE
secondary
#E1F1D1
accent
#DA0C71
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B478EE

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

Preview Lab → · Contrast checker → · Palette generator →

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