#B478FC#B478FC

#B478FC is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.1% C 0.192 H 302.7°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#B478FC
RGBrgb(180, 120, 252)
HSLhsl(267, 96%, 73%)
HSVhsv(267, 52%, 99%)
CMYKcmyk(28.6%, 52.4%, 0%, 1.2%)
CIE-LABlab(61.80, 48.82, -57.40)
CIE-LCHlch(61.80, 75.36, 310.38°)
OKLaboklab(69.1% 0.1037 -0.1617)
OKLCHoklch(69.1% 0.192 302.7)
XYZxyz(43.1056, 30.1645, 95.6280)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B478FC #C0FC78
analogous
#787EFC #B478FC #F678FC
triadic
#B478FC #FCB478 #78FCB4
tetradic
#B478FC #FC787E #C0FC78 #78FCF6
square
#B478FC #FC787E #C0FC78 #78FCF6
split-complementary
#B478FC #FCF678 #7EFC78
monochromatic
#7205F4 #933CFB #B478FC #D5B4FD #EEE1FE

Accessibility & contrast

On white

2.99
#B478FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#B478FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B478FC
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B478FC#FFFFFF#000000##000000
##B478FC1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#5C95F9
Tritanopia (blue-blind)
#A791AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b478fc;
/* rgb */ color: rgb(180, 120, 252);
/* oklch */ color: oklch(69.1% 0.192 302.7);
Tailwind
colors: {
  custom: {
    50: '#cea1fe',
    500: '#b478fc',
    950: '#000000',
  },
}
SCSS
$custom: #b478fc;
$custom-light: #cea1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b478fc",
  "rgb": {
    "r": 180,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 267.273,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69104,
    "c": 0.19212,
    "h": 302.7
  },
  "luminance": 0.30165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B478FC

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

Preview Lab → · Contrast checker → · Palette generator →

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