#B474FB#B474FB

#B474FB is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.4% C 0.197 H 303.5°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#B474FB
RGBrgb(180, 116, 251)
HSLhsl(268, 94%, 72%)
HSVhsv(268, 54%, 98%)
CMYKcmyk(28.3%, 53.8%, 0%, 1.6%)
CIE-LABlab(60.92, 50.71, -58.24)
CIE-LCHlch(60.92, 77.23, 311.05°)
OKLaboklab(68.44% 0.1087 -0.1642)
OKLCHoklch(68.44% 0.197 303.5)
XYZxyz(42.4765, 29.1592, 94.6386)
Luminance0.2916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474FB #BBFB74
analogous
#7478FB #B474FB #F774FB
triadic
#B474FB #FBB474 #74FBB4
tetradic
#B474FB #FB7478 #BBFB74 #74FBF7
square
#B474FB #FB7478 #BBFB74 #74FBF7
split-complementary
#B474FB #FBF774 #78FB74
monochromatic
#7407EE #9439F9 #B474FB #D4AFFD #EFE1FE

Accessibility & contrast

On white

3.07
#B474FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#B474FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474FB
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474FB#FFFFFF#000000##000000
##B474FB1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4392FF
Deuteranopia (green-blind)
#5893F8
Tritanopia (blue-blind)
#A78EAD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b474fb;
/* rgb */ color: rgb(180, 116, 251);
/* oklch */ color: oklch(68.4% 0.197 303.5);
Tailwind
colors: {
  custom: {
    50: '#ce9efd',
    500: '#b474fb',
    950: '#000000',
  },
}
SCSS
$custom: #b474fb;
$custom-light: #ce9efd;
$custom-dark: #000000;
JSON
{
  "hex": "#b474fb",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 268.444,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68441,
    "c": 0.19689,
    "h": 303.5
  },
  "luminance": 0.29159
}

Semantic roles & 50–950 ramp

primary
#B474FB
secondary
#E6F6D4
accent
#E60079
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B474FB

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

Preview Lab → · Contrast checker → · Palette generator →

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