#B478FD#B478FD

#B478FD is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.2% C 0.193 H 302.5°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#B478FD
RGBrgb(180, 120, 253)
HSLhsl(267, 97%, 73%)
HSVhsv(267, 53%, 99%)
CMYKcmyk(28.9%, 52.6%, 0%, 0.8%)
CIE-LABlab(61.85, 49.06, -57.86)
CIE-LCHlch(61.85, 75.86, 310.29°)
OKLaboklab(69.16% 0.1038 -0.1631)
OKLCHoklch(69.16% 0.193 302.5)
XYZxyz(43.2645, 30.2281, 96.4648)
Luminance0.3023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B478FD #C1FD78
analogous
#787EFD #B478FD #F778FD
triadic
#B478FD #FDB478 #78FDB4
tetradic
#B478FD #FD787E #C1FD78 #78FDF7
square
#B478FD #FD787E #C1FD78 #78FDF7
split-complementary
#B478FD #FDF778 #7EFD78
monochromatic
#7104F7 #923CFC #B478FD #D6B4FE #EEE1FF

Accessibility & contrast

On white

2.98
#B478FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#B478FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B478FD
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B478FD#FFFFFF#000000##000000
##B478FD1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#5B95FA
Tritanopia (blue-blind)
#A691AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b478fd;
/* rgb */ color: rgb(180, 120, 253);
/* oklch */ color: oklch(69.2% 0.193 302.5);
Tailwind
colors: {
  custom: {
    50: '#cea1ff',
    500: '#b478fd',
    950: '#000000',
  },
}
SCSS
$custom: #b478fd;
$custom-light: #cea1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b478fd",
  "rgb": {
    "r": 180,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 267.068,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69162,
    "c": 0.19329,
    "h": 302.5
  },
  "luminance": 0.30228
}

Semantic roles & 50–950 ramp

primary
#B478FD
secondary
#E7F7D4
accent
#E6007E
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B478FD

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

Preview Lab → · Contrast checker → · Palette generator →

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