#B478DF#B478DF

#B478DF is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.5% C 0.158 H 309.6°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#B478DF
RGBrgb(180, 120, 223)
HSLhsl(275, 62%, 67%)
HSVhsv(275, 46%, 87%)
CMYKcmyk(19.3%, 46.2%, 0%, 12.5%)
CIE-LABlab(60.31, 42.18, -43.68)
CIE-LCHlch(60.31, 60.72, 314.00°)
OKLaboklab(67.51% 0.1008 -0.1217)
OKLCHoklch(67.51% 0.158 309.6)
XYZxyz(38.8557, 28.4645, 73.2450)
Luminance0.2846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B478DF #A3DF78
analogous
#8078DF #B478DF #DF78D7
triadic
#B478DF #DFB478 #78DFB4
tetradic
#B478DF #DF8078 #A3DF78 #78D7DF
square
#B478DF #DF8078 #A3DF78 #78D7DF
split-complementary
#B478DF #D7DF78 #78DF80
monochromatic
#7A2AB2 #9947D3 #B478DF #CFA9EB #EBDBF6

Accessibility & contrast

On white

3.14
#B478DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#B478DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B478DF
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B478DF#FFFFFF#000000##000000
##B478DF1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#608FE3
Deuteranopia (green-blind)
#7092DC
Tritanopia (blue-blind)
#AF88A1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b478df;
/* rgb */ color: rgb(180, 120, 223);
/* oklch */ color: oklch(67.5% 0.158 309.6);
Tailwind
colors: {
  custom: {
    50: '#cca0e9',
    500: '#b478df',
    950: '#000000',
  },
}
SCSS
$custom: #b478df;
$custom-light: #cca0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b478df",
  "rgb": {
    "r": 180,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 274.951,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67513,
    "c": 0.15807,
    "h": 309.6
  },
  "luminance": 0.28464
}

Semantic roles & 50–950 ramp

primary
#B478DF
secondary
#D7EAC9
accent
#C91C64
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F16
muted
#827E84

Preview Lab

Preview with #B478DF

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

Preview Lab → · Contrast checker → · Palette generator →

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