#B479F2#B479F2
#B479F2 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.7% C 0.179 H 304.6°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B479F2 |
|---|---|
| RGB | rgb(180, 121, 242) |
| HSL | hsl(269, 82%, 71%) |
| HSV | hsv(269, 50%, 95%) |
| CMYK | cmyk(25.6%, 50%, 0%, 5.1%) |
| CIE-LAB | lab(61.47, 45.95, -52.40) |
| CIE-LCH | lch(61.47, 69.69, 311.25°) |
| OKLab | oklab(68.69% 0.1017 -0.1471) |
| OKLCH | oklch(68.69% 0.179 304.6) |
| XYZ | xyz(41.6833, 29.7890, 87.5411) |
| Luminance | 0.2979 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.02
Light Urple
#B36FF6
ΔE00 2.51
Easter Purple
#C071FE
ΔE00 2.93
Liliac
#C48EFD
ΔE00 5.74
Bright Lavender
#C760FF
ΔE00 5.85
Bright Lilac
#C95EFB
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B479F2 #B7F279
analogous
#797AF2 #B479F2 #F079F2
triadic
#B479F2 #F2B479 #79F2B4
tetradic
#B479F2 #F2797A #B7F279 #79F2F0
square
#B479F2 #F2797A #B7F279 #79F2F0
split-complementary
#B479F2 #F2F079 #7AF279
monochromatic
#7615DB #9541ED #B479F2 #D3B1F7 #EFE3FC
Accessibility & contrast
On white
3.02
#B479F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#B479F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B479F2
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B479F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B479F2 | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#6595EF
Tritanopia (blue-blind)
#AA8FAA
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b479f2; /* rgb */ color: rgb(180, 121, 242); /* oklch */ color: oklch(68.7% 0.179 304.6);
Tailwind
colors: {
custom: {
50: '#cda1f7',
500: '#b479f2',
950: '#000000',
},
}SCSS
$custom: #b479f2; $custom-light: #cda1f7; $custom-dark: #000000;
JSON
{
"hex": "#b479f2",
"rgb": {
"r": 180,
"g": 121,
"b": 242
},
"hsl": {
"h": 269.256,
"s": 82.313,
"l": 71.176
},
"oklch": {
"l": 0.68691,
"c": 0.17882,
"h": 304.6
},
"luminance": 0.29789
}Semantic roles & 50–950 ramp
primary
#B479F2
secondary
#E4F3D3
accent
#DF0775
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85