#B472EB#B472EB

#B472EB is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.2% C 0.182 H 307.4°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B472EB
RGBrgb(180, 114, 235)
HSLhsl(273, 75%, 68%)
HSVhsv(273, 51%, 92%)
CMYKcmyk(23.4%, 51.5%, 0%, 7.8%)
CIE-LABlab(59.65, 48.09, -51.41)
CIE-LCHlch(59.65, 70.40, 313.09°)
OKLaboklab(67.22% 0.1103 -0.1442)
OKLCHoklch(67.22% 0.182 307.4)
XYZxyz(39.8321, 27.7365, 81.8365)
Luminance0.2774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B472EB #A9EB72
analogous
#7772EB #B472EB #EB72E6
triadic
#B472EB #EBB472 #72EBB4
tetradic
#B472EB #EB7772 #A9EB72 #72E6EB
square
#B472EB #EB7772 #A9EB72 #72E6EB
split-complementary
#B472EB #E6EB72 #72EB77
monochromatic
#791CC6 #973CE3 #B472EB #D1A8F3 #EDDDFA

Accessibility & contrast

On white

3.21
#B472EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#B472EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B472EB
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B472EB#FFFFFF#000000##000000
##B472EB1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEF
Deuteranopia (green-blind)
#6290E8
Tritanopia (blue-blind)
#AC87A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b472eb;
/* rgb */ color: rgb(180, 114, 235);
/* oklch */ color: oklch(67.2% 0.182 307.4);
Tailwind
colors: {
  custom: {
    50: '#cd9cf2',
    500: '#b472eb',
    950: '#000000',
  },
}
SCSS
$custom: #b472eb;
$custom-light: #cd9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b472eb",
  "rgb": {
    "r": 180,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 272.727,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67222,
    "c": 0.18152,
    "h": 307.4
  },
  "luminance": 0.27736
}

Semantic roles & 50–950 ramp

primary
#B472EB
secondary
#DBEFCA
accent
#D70E6A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B472EB

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

Preview Lab → · Contrast checker → · Palette generator →

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