#B474FD#B474FD

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

Color values

HEX#B474FD
RGBrgb(180, 116, 253)
HSLhsl(268, 97%, 72%)
HSVhsv(268, 54%, 99%)
CMYKcmyk(28.9%, 54.2%, 0%, 0.8%)
CIE-LABlab(61.03, 51.18, -59.17)
CIE-LCHlch(61.03, 78.23, 310.86°)
OKLaboklab(68.56% 0.1088 -0.1669)
OKLCHoklch(68.56% 0.199 303.1)
XYZxyz(42.7934, 29.2860, 96.3078)
Luminance0.2929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474FD #BDFD74
analogous
#7479FD #B474FD #F874FD
triadic
#B474FD #FDB474 #74FDB4
tetradic
#B474FD #FD7479 #BDFD74 #74FDF8
square
#B474FD #FD7479 #BDFD74 #74FDF8
split-complementary
#B474FD #FDF874 #79FD74
monochromatic
#7303F3 #9338FC #B474FD #D5B0FE #EFE1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B474FD#FFFFFF#000000##000000
##B474FD1.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)
#4192FF
Deuteranopia (green-blind)
#5693FA
Tritanopia (blue-blind)
#A78EAE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b474fd;
/* rgb */ color: rgb(180, 116, 253);
/* oklch */ color: oklch(68.6% 0.199 303.1);
Tailwind
colors: {
  custom: {
    50: '#ce9eff',
    500: '#b474fd',
    950: '#000000',
  },
}
SCSS
$custom: #b474fd;
$custom-light: #ce9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#b474fd",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 253
  },
  "hsl": {
    "h": 268.029,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68559,
    "c": 0.1992,
    "h": 303.1
  },
  "luminance": 0.29286
}

Semantic roles & 50–950 ramp

primary
#B474FD
secondary
#E7F7D4
accent
#E6007A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B474FD

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

Preview Lab → · Contrast checker → · Palette generator →

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