#B474EF#B474EF
#B474EF is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.8% C 0.183 H 306.1°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #B474EF |
|---|---|
| RGB | rgb(180, 116, 239) |
| HSL | hsl(271, 79%, 70%) |
| HSV | hsv(271, 51%, 94%) |
| CMYK | cmyk(24.7%, 51.5%, 0%, 6.3%) |
| CIE-LAB | lab(60.27, 47.94, -52.64) |
| CIE-LCH | lch(60.27, 71.20, 312.32°) |
| OKLab | oklab(67.75% 0.108 -0.1478) |
| OKLCH | oklch(67.75% 0.183 306.1) |
| XYZ | xyz(40.6445, 28.4264, 84.9903) |
| Luminance | 0.2843 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.66
Light Purple
#BF77F6
ΔE00 2.15
Easter Purple
#C071FE
ΔE00 2.65
Bright Lavender
#C760FF
ΔE00 4.97
Bright Lilac
#C95EFB
ΔE00 5.29
Mediumpurple
#9370DB
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B474EF #AFEF74
analogous
#7774EF #B474EF #EF74EC
triadic
#B474EF #EFB474 #74EFB4
tetradic
#B474EF #EF7774 #AFEF74 #74ECEF
square
#B474EF #EF7774 #AFEF74 #74ECEF
split-complementary
#B474EF #ECEF74 #74EF77
monochromatic
#7818D1 #963DE9 #B474EF #D2ABF5 #EFE2FC
Accessibility & contrast
On white
3.14
#B474EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.69
#B474EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B474EF
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B474EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B474EF | 1.00 | 3.14 | 6.69 | 6.69 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#6292EC
Tritanopia (blue-blind)
#AB8AA7
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b474ef; /* rgb */ color: rgb(180, 116, 239); /* oklch */ color: oklch(67.8% 0.183 306.1);
Tailwind
colors: {
custom: {
50: '#cd9ef5',
500: '#b474ef',
950: '#000000',
},
}SCSS
$custom: #b474ef; $custom-light: #cd9ef5; $custom-dark: #000000;
JSON
{
"hex": "#b474ef",
"rgb": {
"r": 180,
"g": 116,
"b": 239
},
"hsl": {
"h": 271.22,
"s": 79.355,
"l": 69.608
},
"oklch": {
"l": 0.67751,
"c": 0.18303,
"h": 306.1
},
"luminance": 0.28426
}Semantic roles & 50–950 ramp
primary
#B474EF
secondary
#DFF1CE
accent
#DC0A6E
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85