#B474F0#B474F0
#B474F0 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.8% C 0.184 H 305.9°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #B474F0 |
|---|---|
| RGB | rgb(180, 116, 240) |
| HSL | hsl(271, 81%, 70%) |
| HSV | hsv(271, 52%, 94%) |
| CMYK | cmyk(25%, 51.7%, 0%, 5.9%) |
| CIE-LAB | lab(60.33, 48.17, -53.11) |
| CIE-LCH | lch(60.33, 71.70, 312.20°) |
| OKLab | oklab(67.81% 0.108 -0.1492) |
| OKLCH | oklch(67.81% 0.184 305.9) |
| XYZ | xyz(40.7927, 28.4857, 85.7705) |
| Luminance | 0.2848 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.55
Light Purple
#BF77F6
ΔE00 2.13
Easter Purple
#C071FE
ΔE00 2.56
Bright Lavender
#C760FF
ΔE00 4.93
Bright Lilac
#C95EFB
ΔE00 5.28
Mediumpurple
#9370DB
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B474F0 #B0F074
analogous
#7674F0 #B474F0 #F074EE
triadic
#B474F0 #F0B474 #74F0B4
tetradic
#B474F0 #F07674 #B0F074 #74EEF0
square
#B474F0 #F07674 #B0F074 #74EEF0
split-complementary
#B474F0 #EEF074 #74F076
monochromatic
#7817D3 #963DEA #B474F0 #D2ABF6 #F0E2FC
Accessibility & contrast
On white
3.14
#B474F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.70
#B474F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B474F0
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B474F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B474F0 | 1.00 | 3.14 | 6.70 | 6.70 |
| #FFFFFF | 3.14 | 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)
#4D8FF4
Deuteranopia (green-blind)
#6192ED
Tritanopia (blue-blind)
#AA8AA7
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b474f0; /* rgb */ color: rgb(180, 116, 240); /* oklch */ color: oklch(67.8% 0.184 305.9);
Tailwind
colors: {
custom: {
50: '#cd9ef5',
500: '#b474f0',
950: '#000000',
},
}SCSS
$custom: #b474f0; $custom-light: #cd9ef5; $custom-dark: #000000;
JSON
{
"hex": "#b474f0",
"rgb": {
"r": 180,
"g": 116,
"b": 240
},
"hsl": {
"h": 270.968,
"s": 80.519,
"l": 69.804
},
"oklch": {
"l": 0.67807,
"c": 0.1842,
"h": 305.9
},
"luminance": 0.28485
}Semantic roles & 50–950 ramp
primary
#B474F0
secondary
#DFF1CE
accent
#DD096F
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85