#B472F6#B472F6

#B472F6 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.8% C 0.194 H 304.9°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#B472F6
RGBrgb(180, 114, 246)
HSLhsl(270, 88%, 71%)
HSVhsv(270, 54%, 96%)
CMYKcmyk(26.8%, 53.7%, 0%, 3.5%)
CIE-LABlab(60.24, 50.61, -56.57)
CIE-LCHlch(60.24, 75.90, 311.81°)
OKLaboklab(67.85% 0.111 -0.1593)
OKLCHoklch(67.85% 0.194 304.9)
XYZxyz(41.4707, 28.3920, 90.4664)
Luminance0.2839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B472F6 #B4F672
analogous
#7272F6 #B472F6 #F672F6
triadic
#B472F6 #F6B472 #72F6B4
tetradic
#B472F6 #F67272 #B4F672 #72F6F6
square
#B472F6 #F67272 #B4F672 #72F6F6
split-complementary
#B472F6 #F6F672 #72F672
monochromatic
#770EDF #9538F2 #B472F6 #D3ACFA #F0E2FD

Accessibility & contrast

On white

3.14
#B472F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#B472F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B472F6
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B472F6#FFFFFF#000000##000000
##B472F61.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#448FFA
Deuteranopia (green-blind)
#5A91F3
Tritanopia (blue-blind)
#A98BA9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b472f6;
/* rgb */ color: rgb(180, 114, 246);
/* oklch */ color: oklch(67.8% 0.194 304.9);
Tailwind
colors: {
  custom: {
    50: '#ce9dfa',
    500: '#b472f6',
    950: '#000000',
  },
}
SCSS
$custom: #b472f6;
$custom-light: #ce9dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b472f6",
  "rgb": {
    "r": 180,
    "g": 114,
    "b": 246
  },
  "hsl": {
    "h": 270,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6785,
    "c": 0.19412,
    "h": 304.9
  },
  "luminance": 0.28392
}

Semantic roles & 50–950 ramp

primary
#B472F6
secondary
#E2F4D0
accent
#E50173
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B472F6

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

Preview Lab → · Contrast checker → · Palette generator →

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