#B474F5#B474F5
#B474F5 is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.1% C 0.190 H 304.8°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #B474F5 |
|---|---|
| RGB | rgb(180, 116, 245) |
| HSL | hsl(270, 87%, 71%) |
| HSV | hsv(270, 53%, 96%) |
| CMYK | cmyk(26.5%, 52.7%, 0%, 3.9%) |
| CIE-LAB | lab(60.59, 49.32, -55.46) |
| CIE-LCH | lch(60.59, 74.21, 311.65°) |
| OKLab | oklab(68.09% 0.1084 -0.156) |
| OKLCH | oklch(68.09% 0.19 304.8) |
| XYZ | xyz(41.5457, 28.7869, 89.7362) |
| Luminance | 0.2879 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.22
Light Purple
#BF77F6
ΔE00 2.19
Easter Purple
#C071FE
ΔE00 2.23
Bright Lavender
#C760FF
ΔE00 4.80
Bright Lilac
#C95EFB
ΔE00 5.26
Mediumpurple
#9370DB
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B474F5 #B5F574
analogous
#7474F5 #B474F5 #F474F5
triadic
#B474F5 #F5B474 #74F5B4
tetradic
#B474F5 #F57474 #B5F574 #74F5F4
square
#B474F5 #F57474 #B5F574 #74F5F4
split-complementary
#B474F5 #F5F474 #74F574
monochromatic
#7610DF #953BF1 #B474F5 #D3ADF9 #F0E2FD
Accessibility & contrast
On white
3.11
#B474F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.76
#B474F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B474F5
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B474F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B474F5 | 1.00 | 3.11 | 6.76 | 6.76 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4990F9
Deuteranopia (green-blind)
#5D92F2
Tritanopia (blue-blind)
#A98CAA
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #b474f5; /* rgb */ color: rgb(180, 116, 245); /* oklch */ color: oklch(68.1% 0.190 304.8);
Tailwind
colors: {
custom: {
50: '#cd9ef9',
500: '#b474f5',
950: '#000000',
},
}SCSS
$custom: #b474f5; $custom-light: #cd9ef9; $custom-dark: #000000;
JSON
{
"hex": "#b474f5",
"rgb": {
"r": 180,
"g": 116,
"b": 245
},
"hsl": {
"h": 269.767,
"s": 86.577,
"l": 70.784
},
"oklch": {
"l": 0.68092,
"c": 0.18997,
"h": 304.8
},
"luminance": 0.28787
}Semantic roles & 50–950 ramp
primary
#B474F5
secondary
#E3F4D1
accent
#E30274
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85