#B341F0#B341F0
#B341F0 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 61.3% C 0.252 H 310.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B341F0 |
|---|---|
| RGB | rgb(179, 65, 240) |
| HSL | hsl(279, 85%, 60%) |
| HSV | hsv(279, 73%, 94%) |
| CMYK | cmyk(25.4%, 72.9%, 0%, 5.9%) |
| CIE-LAB | lab(51.45, 71.73, -67.37) |
| CIE-LCH | lch(51.45, 98.41, 316.80°) |
| OKLab | oklab(61.35% 0.1643 -0.1908) |
| OKLCH | oklch(61.35% 0.252 310.7) |
| XYZ | xyz(36.2058, 19.6564, 84.3080) |
| Luminance | 0.1966 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.07
Neon Purple
#BC13FE
ΔE00 3.63
Bright Purple
#BE03FD
ΔE00 4.00
Hot Purple
#CB00F5
ΔE00 4.31
Electric Purple
#AA23FF
ΔE00 4.54
Lighter Purple
#A55AF4
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B341F0 #7EF041
analogous
#5C41F0 #B341F0 #F041D5
triadic
#B341F0 #F0B341 #41F0B3
tetradic
#B341F0 #F05C41 #7EF041 #41D5F0
square
#B341F0 #F05C41 #7EF041 #41D5F0
split-complementary
#B341F0 #D5F041 #41F05C
monochromatic
#730DA9 #9912E2 #B341F0 #CA7AF4 #E0B2F9
Accessibility & contrast
On white
4.26
#B341F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#B341F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B341F0
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B341F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B341F0 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F5
Deuteranopia (green-blind)
#1D7CEC
Tritanopia (blue-blind)
#AB6996
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #b341f0; /* rgb */ color: rgb(179, 65, 240); /* oklch */ color: oklch(61.3% 0.252 310.7);
Tailwind
colors: {
custom: {
50: '#cf80f6',
500: '#b341f0',
950: '#000000',
},
}SCSS
$custom: #b341f0; $custom-light: #cf80f6; $custom-dark: #000000;
JSON
{
"hex": "#b341f0",
"rgb": {
"r": 179,
"g": 65,
"b": 240
},
"hsl": {
"h": 279.086,
"s": 85.366,
"l": 59.804
},
"oklch": {
"l": 0.61347,
"c": 0.2518,
"h": 310.7
},
"luminance": 0.19656
}Semantic roles & 50–950 ramp
primary
#B341F0
secondary
#BCE8A5
accent
#FC2C74
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#140B17
muted
#837C85