#B472EA#B472EA

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

Color values

HEX#B472EA
RGBrgb(180, 114, 234)
HSLhsl(273, 74%, 68%)
HSVhsv(273, 51%, 92%)
CMYKcmyk(23.1%, 51.3%, 0%, 8.2%)
CIE-LABlab(59.60, 47.87, -50.94)
CIE-LCHlch(59.60, 69.90, 313.22°)
OKLaboklab(67.17% 0.1102 -0.1428)
OKLCHoklch(67.17% 0.18 307.6)
XYZxyz(39.6880, 27.6789, 81.0777)
Luminance0.2768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B472EA #A8EA72
analogous
#7872EA #B472EA #EA72E4
triadic
#B472EA #EAB472 #72EAB4
tetradic
#B472EA #EA7872 #A8EA72 #72E4EA
square
#B472EA #EA7872 #A8EA72 #72E4EA
split-complementary
#B472EA #E4EA72 #72EA78
monochromatic
#791DC4 #983DE2 #B472EA #D0A7F2 #EDDDFA

Accessibility & contrast

On white

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

On black

6.54
#B472EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B472EA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B472EA#FFFFFF#000000##000000
##B472EA1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEE
Deuteranopia (green-blind)
#6390E7
Tritanopia (blue-blind)
#AC87A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b472ea;
/* rgb */ color: rgb(180, 114, 234);
/* oklch */ color: oklch(67.2% 0.180 307.6);
Tailwind
colors: {
  custom: {
    50: '#cd9cf1',
    500: '#b472ea',
    950: '#000000',
  },
}
SCSS
$custom: #b472ea;
$custom-light: #cd9cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b472ea",
  "rgb": {
    "r": 180,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 273,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67166,
    "c": 0.18037,
    "h": 307.6
  },
  "luminance": 0.27678
}

Semantic roles & 50–950 ramp

primary
#B472EA
secondary
#DAEECA
accent
#D60F69
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B472EA

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

Preview Lab → · Contrast checker → · Palette generator →

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