#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 |
|---|---|
| RGB | rgb(180, 114, 248) |
| HSL | hsl(270, 91%, 71%) |
| HSV | hsv(270, 54%, 97%) |
| CMYK | cmyk(27.4%, 54%, 0%, 2.7%) |
| CIE-LAB | lab(60.35, 51.07, -57.50) |
| CIE-LCH | lch(60.35, 76.90, 311.61°) |
| OKLab | oklab(67.97% 0.111 -0.162) |
| OKLCH | oklch(67.97% 0.196 304.4) |
| XYZ | xyz(41.7793, 28.5154, 92.0917) |
| Luminance | 0.2852 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 0.78
Easter Purple
#C071FE
ΔE00 2.08
Light Purple
#BF77F6
ΔE00 2.54
Bright Lavender
#C760FF
ΔE00 4.43
Bright Lilac
#C95EFB
ΔE00 4.95
Lighter Purple
#A55AF4
ΔE00 6.42
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 |
|---|---|---|---|---|
| ##B472F8 | 1.00 | 3.13 | 6.70 | 6.70 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.70 | 21.00 | 1.00 | 1.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