#B472FB#B472FB

#B472FB is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.1% C 0.200 H 303.8°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#B472FB
RGBrgb(180, 114, 251)
HSLhsl(269, 94%, 72%)
HSVhsv(269, 55%, 98%)
CMYKcmyk(28.3%, 54.6%, 0%, 1.6%)
CIE-LABlab(60.52, 51.77, -58.89)
CIE-LCHlch(60.52, 78.41, 311.32°)
OKLaboklab(68.14% 0.1112 -0.1661)
OKLCHoklch(68.14% 0.2 303.8)
XYZxyz(42.2484, 28.7031, 94.5626)
Luminance0.2870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B472FB #B9FB72
analogous
#7275FB #B472FB #F972FB
triadic
#B472FB #FBB472 #72FBB4
tetradic
#B472FB #FB7275 #B9FB72 #72FBF9
square
#B472FB #FB7275 #B9FB72 #72FBF9
split-complementary
#B472FB #FBF972 #75FB72
monochromatic
#7507EC #9436F9 #B472FB #D4AEFD #EFE1FE

Accessibility & contrast

On white

3.12
#B472FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#B472FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B472FB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B472FB#FFFFFF#000000##000000
##B472FB1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F90FF
Deuteranopia (green-blind)
#5692F8
Tritanopia (blue-blind)
#A78CAC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b472fb;
/* rgb */ color: rgb(180, 114, 251);
/* oklch */ color: oklch(68.1% 0.200 303.8);
Tailwind
colors: {
  custom: {
    50: '#ce9dfd',
    500: '#b472fb',
    950: '#000000',
  },
}
SCSS
$custom: #b472fb;
$custom-light: #ce9dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b472fb",
  "rgb": {
    "r": 180,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 268.905,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68144,
    "c": 0.19984,
    "h": 303.8
  },
  "luminance": 0.28703
}

Semantic roles & 50–950 ramp

primary
#B472FB
secondary
#E5F6D3
accent
#E60077
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B472FB

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

Preview Lab → · Contrast checker → · Palette generator →

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