#B472F8#B472F8

#B472F8 is a light, vivid violet. Relative luminance 0.285; OKLCH L 68.0% C 0.196 H 304.4°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#B472F8
RGBrgb(180, 114, 248)
HSLhsl(270, 91%, 71%)
HSVhsv(270, 54%, 97%)
CMYKcmyk(27.4%, 54%, 0%, 2.7%)
CIE-LABlab(60.35, 51.07, -57.50)
CIE-LCHlch(60.35, 76.90, 311.61°)
OKLaboklab(67.97% 0.111 -0.162)
OKLCHoklch(67.97% 0.196 304.4)
XYZxyz(41.7793, 28.5154, 92.0917)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B472F8 #B6F872
analogous
#7273F8 #B472F8 #F772F8
triadic
#B472F8 #F8B472 #72F8B4
tetradic
#B472F8 #F87273 #B6F872 #72F8F7
square
#B472F8 #F87273 #B6F872 #72F8F7
split-complementary
#B472F8 #F8F772 #73F872
monochromatic
#760BE4 #9538F5 #B472F8 #D3ACFB #EFE2FE

Accessibility & contrast

On white

3.13
#B472F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#B472F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B472F8
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B472F8#FFFFFF#000000##000000
##B472F81.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4290FC
Deuteranopia (green-blind)
#5892F5
Tritanopia (blue-blind)
#A88BAA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b472f8;
/* rgb */ color: rgb(180, 114, 248);
/* oklch */ color: oklch(68.0% 0.196 304.4);
Tailwind
colors: {
  custom: {
    50: '#ce9dfb',
    500: '#b472f8',
    950: '#000000',
  },
}
SCSS
$custom: #b472f8;
$custom-light: #ce9dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b472f8",
  "rgb": {
    "r": 180,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 269.552,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67967,
    "c": 0.19641,
    "h": 304.4
  },
  "luminance": 0.28515
}

Semantic roles & 50–950 ramp

primary
#B472F8
secondary
#E3F5D1
accent
#E60074
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B472F8

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

Preview Lab → · Contrast checker → · Palette generator →

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