#B646FF#B646FF
#B646FF is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 63.2% C 0.261 H 308.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B646FF |
|---|---|
| RGB | rgb(182, 70, 255) |
| HSL | hsl(276, 100%, 64%) |
| HSV | hsv(276, 73%, 100%) |
| CMYK | cmyk(28.6%, 72.5%, 0%, 0%) |
| CIE-LAB | lab(53.54, 73.46, -72.32) |
| CIE-LCH | lch(53.54, 103.09, 315.45°) |
| OKLab | oklab(63.24% 0.1612 -0.2053) |
| OKLCH | oklch(63.24% 0.261 308.1) |
| XYZ | xyz(39.5278, 21.5460, 96.6648) |
| Luminance | 0.2155 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.75
Lightish Purple
#A552E6
ΔE00 3.91
Neon Purple
#BC13FE
ΔE00 4.75
Bright Purple
#BE03FD
ΔE00 5.21
Hot Purple
#CB00F5
ΔE00 5.42
Electric Purple
#AA23FF
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B646FF #8FFF46
analogous
#5946FF #B646FF #FF46EC
triadic
#B646FF #FFB646 #46FFB6
tetradic
#B646FF #FF5946 #8FFF46 #46ECFF
square
#B646FF #FF5946 #8FFF46 #46ECFF
split-complementary
#B646FF #ECFF46 #46FF59
monochromatic
#7B00CB #9E09FF #B646FF #CE83FF #E6C0FF
Accessibility & contrast
On white
3.96
#B646FF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#B646FF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B646FF
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B646FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B646FF | 1.00 | 3.96 | 5.31 | 5.31 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#AA729F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #b646ff; /* rgb */ color: rgb(182, 70, 255); /* oklch */ color: oklch(63.2% 0.261 308.1);
Tailwind
colors: {
custom: {
50: '#d283ff',
500: '#b646ff',
950: '#000000',
},
}SCSS
$custom: #b646ff; $custom-light: #d283ff; $custom-dark: #000000;
JSON
{
"hex": "#b646ff",
"rgb": {
"r": 182,
"g": 70,
"b": 255
},
"hsl": {
"h": 276.324,
"s": 100,
"l": 63.725
},
"oklch": {
"l": 0.63237,
"c": 0.261,
"h": 308.1
},
"luminance": 0.21545
}Semantic roles & 50–950 ramp
primary
#B646FF
secondary
#CAF1B0
accent
#E6005B
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86