#B472DC#B472DC

#B472DC is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.4% C 0.164 H 311.4°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B472DC
RGBrgb(180, 114, 220)
HSLhsl(277, 60%, 65%)
HSVhsv(277, 48%, 86%)
CMYKcmyk(18.2%, 48.2%, 0%, 13.7%)
CIE-LABlab(58.89, 44.76, -44.24)
CIE-LCHlch(58.89, 62.93, 315.34°)
OKLaboklab(66.41% 0.1087 -0.1233)
OKLCHoklch(66.41% 0.164 311.4)
XYZxyz(37.7557, 26.9060, 70.9007)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B472DC #9ADC72
analogous
#7F72DC #B472DC #DC72CF
triadic
#B472DC #DCB472 #72DCB4
tetradic
#B472DC #DC7F72 #9ADC72 #72CFDC
square
#B472DC #DC7F72 #9ADC72 #72CFDC
split-complementary
#B472DC #CFDC72 #72DC7F
monochromatic
#792AAA #9A41D0 #B472DC #CEA3E8 #E8D4F4

Accessibility & contrast

On white

3.29
#B472DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#B472DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B472DC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B472DC#FFFFFF#000000##000000
##B472DC1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#598AE0
Deuteranopia (green-blind)
#6C8FD9
Tritanopia (blue-blind)
#B0839D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b472dc;
/* rgb */ color: rgb(180, 114, 220);
/* oklch */ color: oklch(66.4% 0.164 311.4);
Tailwind
colors: {
  custom: {
    50: '#cc9ce7',
    500: '#b472dc',
    950: '#000000',
  },
}
SCSS
$custom: #b472dc;
$custom-light: #cc9ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#b472dc",
  "rgb": {
    "r": 180,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 277.358,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66408,
    "c": 0.16441,
    "h": 311.4
  },
  "luminance": 0.26905
}

Semantic roles & 50–950 ramp

primary
#B472DC
secondary
#D1E7C3
accent
#C81E5E
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B472DC

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

Preview Lab → · Contrast checker → · Palette generator →

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