#B478DD#B478DD

#B478DD is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.4% C 0.156 H 310.2°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#B478DD
RGBrgb(180, 120, 221)
HSLhsl(276, 60%, 67%)
HSVhsv(276, 46%, 87%)
CMYKcmyk(18.6%, 45.7%, 0%, 13.3%)
CIE-LABlab(60.21, 41.74, -42.71)
CIE-LCHlch(60.21, 59.72, 314.34°)
OKLaboklab(67.41% 0.1006 -0.1189)
OKLCHoklch(67.41% 0.156 310.2)
XYZxyz(38.5876, 28.3573, 71.8333)
Luminance0.2836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B478DD #A1DD78
analogous
#8278DD #B478DD #DD78D3
triadic
#B478DD #DDB478 #78DDB4
tetradic
#B478DD #DD8278 #A1DD78 #78D3DD
square
#B478DD #DD8278 #A1DD78 #78D3DD
split-complementary
#B478DD #D3DD78 #78DD82
monochromatic
#7A2CAF #9947D1 #B478DD #CFA9E9 #EADAF6

Accessibility & contrast

On white

3.15
#B478DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#B478DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B478DD
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B478DD#FFFFFF#000000##000000
##B478DD1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EE1
Deuteranopia (green-blind)
#7192DA
Tritanopia (blue-blind)
#AF88A0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b478dd;
/* rgb */ color: rgb(180, 120, 221);
/* oklch */ color: oklch(67.4% 0.156 310.2);
Tailwind
colors: {
  custom: {
    50: '#cca0e8',
    500: '#b478dd',
    950: '#000000',
  },
}
SCSS
$custom: #b478dd;
$custom-light: #cca0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b478dd",
  "rgb": {
    "r": 180,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 275.644,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6741,
    "c": 0.15574,
    "h": 310.2
  },
  "luminance": 0.28357
}

Semantic roles & 50–950 ramp

primary
#B478DD
secondary
#D5E9C8
accent
#C71E63
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140F16
muted
#827E84

Preview Lab

Preview with #B478DD

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

Preview Lab → · Contrast checker → · Palette generator →

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