#B474E8#B474E8
#B474E8 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.4% C 0.175 H 307.8°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B474E8 |
|---|---|
| RGB | rgb(180, 116, 232) |
| HSL | hsl(273, 72%, 68%) |
| HSV | hsv(273, 50%, 91%) |
| CMYK | cmyk(22.4%, 50%, 0%, 9%) |
| CIE-LAB | lab(59.91, 46.35, -49.33) |
| CIE-LCH | lch(59.91, 67.69, 313.21°) |
| OKLab | oklab(67.36% 0.1073 -0.1381) |
| OKLCH | oklch(67.36% 0.175 307.8) |
| XYZ | xyz(39.6304, 28.0208, 79.6491) |
| Luminance | 0.2802 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.58
Light Purple
#BF77F6
ΔE00 2.59
Easter Purple
#C071FE
ΔE00 3.43
Bright Lavender
#C760FF
ΔE00 5.38
Bright Lilac
#C95EFB
ΔE00 5.55
Mediumpurple
#9370DB
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B474E8 #A8E874
analogous
#7A74E8 #B474E8 #E874E2
triadic
#B474E8 #E8B474 #74E8B4
tetradic
#B474E8 #E87A74 #A8E874 #74E2E8
square
#B474E8 #E87A74 #A8E874 #74E2E8
split-complementary
#B474E8 #E2E874 #74E87A
monochromatic
#7920C2 #983FDF #B474E8 #D0A9F1 #EDDDF9
Accessibility & contrast
On white
3.18
#B474E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.60
#B474E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B474E8
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B474E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B474E8 | 1.00 | 3.18 | 6.60 | 6.60 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#548EEC
Deuteranopia (green-blind)
#6691E5
Tritanopia (blue-blind)
#AD88A3
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #b474e8; /* rgb */ color: rgb(180, 116, 232); /* oklch */ color: oklch(67.4% 0.175 307.8);
Tailwind
colors: {
custom: {
50: '#cd9ef0',
500: '#b474e8',
950: '#000000',
},
}SCSS
$custom: #b474e8; $custom-light: #cd9ef0; $custom-dark: #000000;
JSON
{
"hex": "#b474e8",
"rgb": {
"r": 180,
"g": 116,
"b": 232
},
"hsl": {
"h": 273.103,
"s": 71.605,
"l": 68.235
},
"oklch": {
"l": 0.67362,
"c": 0.17495,
"h": 307.8
},
"luminance": 0.2802
}Semantic roles & 50–950 ramp
primary
#B474E8
secondary
#DAEDCA
accent
#D41269
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84