#B474F8#B474F8
#B474F8 is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.3% C 0.193 H 304.1°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B474F8 |
|---|---|
| RGB | rgb(180, 116, 248) |
| HSL | hsl(269, 90%, 71%) |
| HSV | hsv(269, 53%, 97%) |
| CMYK | cmyk(27.4%, 53.2%, 0%, 2.7%) |
| CIE-LAB | lab(60.76, 50.01, -56.85) |
| CIE-LCH | lch(60.76, 75.72, 311.34°) |
| OKLab | oklab(68.27% 0.1085 -0.1601) |
| OKLCH | oklch(68.27% 0.193 304.1) |
| XYZ | xyz(42.0073, 28.9715, 92.1678) |
| Luminance | 0.2897 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.23
Easter Purple
#C071FE
ΔE00 2.14
Light Purple
#BF77F6
ΔE00 2.34
Bright Lavender
#C760FF
ΔE00 4.78
Bright Lilac
#C95EFB
ΔE00 5.30
Liliac
#C48EFD
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B474F8 #B8F874
analogous
#7476F8 #B474F8 #F674F8
triadic
#B474F8 #F8B474 #74F8B4
tetradic
#B474F8 #F87476 #B8F874 #74F8F6
square
#B474F8 #F87476 #B8F874 #74F8F6
split-complementary
#B474F8 #F8F674 #76F874
monochromatic
#750CE6 #953AF5 #B474F8 #D3AEFB #EFE2FE
Accessibility & contrast
On white
3.09
#B474F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.79
#B474F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B474F8
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B474F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B474F8 | 1.00 | 3.09 | 6.79 | 6.79 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4691FC
Deuteranopia (green-blind)
#5B93F5
Tritanopia (blue-blind)
#A88DAB
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b474f8; /* rgb */ color: rgb(180, 116, 248); /* oklch */ color: oklch(68.3% 0.193 304.1);
Tailwind
colors: {
custom: {
50: '#ce9efb',
500: '#b474f8',
950: '#000000',
},
}SCSS
$custom: #b474f8; $custom-light: #ce9efb; $custom-dark: #000000;
JSON
{
"hex": "#b474f8",
"rgb": {
"r": 180,
"g": 116,
"b": 248
},
"hsl": {
"h": 269.091,
"s": 90.411,
"l": 71.373
},
"oklch": {
"l": 0.68265,
"c": 0.19344,
"h": 304.1
},
"luminance": 0.28971
}Semantic roles & 50–950 ramp
primary
#B474F8
secondary
#E4F5D3
accent
#E60076
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85